C# 클래스 Open.Core.UI.Silverlight.Controls.DraggableStackPanel

Stacks a set of child items along an axis (horizontal or vertical) and makes each child dragable enabling re-ordering.
상속: System.Windows.Controls.Canvas
파일 보기 프로젝트 열기: philcockfield/Open.TestHarness.SL 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
DragContainmentProperty System.Windows.DependencyProperty
EasingProperty System.Windows.DependencyProperty
ItemsSourceProperty System.Windows.DependencyProperty
OrientationProperty System.Windows.DependencyProperty
SlideDurationProperty System.Windows.DependencyProperty

Private Properties

프로퍼티 타입 설명
ArrangeChild void
ArrangeChildren void
ArrangeChildren void
CalculateNewLayout List
GetChild Child
GetCurrentChildOrder IEnumerable
OnItemsSourceChanged void
OnOrientationChanged void
ReorderCollection void
SyncChildProperties void
UpdateChildItemsCollection void
WireCollection void

공개 메소드들

메소드 설명
DraggableStackPanel ( ) : System
HandleLoaded ( object sender, RoutedEventArgs e ) : void
Handle_Child_Dragging ( object sender, DraggingEventArgs e ) : void
Handle_Child_IsDraggingChanged ( object sender, EventArgs e ) : void
Handle_CollectionChanged ( object sender, NotifyCollectionChangedEventArgs e ) : void

비공개 메소드들

메소드 설명
ArrangeChild ( UIElement element, Rect bounds ) : void
ArrangeChildren ( ) : void
ArrangeChildren ( bool force ) : void
CalculateNewLayout ( ) : List
GetChild ( UIElement element ) : Child
GetCurrentChildOrder ( ) : IEnumerable
OnItemsSourceChanged ( System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnOrientationChanged ( ) : void
ReorderCollection ( ) : void
SyncChildProperties ( ) : void
UpdateChildItemsCollection ( bool force ) : void
WireCollection ( INotifyCollectionChanged collection, bool add ) : void

메소드 상세

DraggableStackPanel() 공개 메소드

public DraggableStackPanel ( ) : System
리턴 System

HandleLoaded() 공개 메소드

public HandleLoaded ( object sender, RoutedEventArgs e ) : void
sender object
e System.Windows.RoutedEventArgs
리턴 void

Handle_Child_Dragging() 공개 메소드

public Handle_Child_Dragging ( object sender, DraggingEventArgs e ) : void
sender object
e Open.Core.Common.AttachedBehavior.DraggingEventArgs
리턴 void

Handle_Child_IsDraggingChanged() 공개 메소드

public Handle_Child_IsDraggingChanged ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
리턴 void

Handle_CollectionChanged() 공개 메소드

public Handle_CollectionChanged ( object sender, NotifyCollectionChangedEventArgs e ) : void
sender object
e System.Collections.Specialized.NotifyCollectionChangedEventArgs
리턴 void

프로퍼티 상세

DragContainmentProperty 공개적으로 정적으로 프로퍼티

Gets or sets how the child elements are contained within it's parent.
public static DependencyProperty,System.Windows DragContainmentProperty
리턴 System.Windows.DependencyProperty

EasingProperty 공개적으로 정적으로 프로퍼티

Gets or sets the easing function to use when sliding items within the stack.
public static DependencyProperty,System.Windows EasingProperty
리턴 System.Windows.DependencyProperty

ItemsSourceProperty 공개적으로 정적으로 프로퍼티

Gets or sets the collection data-source of the master ItemsControl that this panel is housed within.
For updates to be monitored, makes sure the bound value is an ObservableCollection (or some other collection that that implements 'INotifyCollectionChanged').
public static DependencyProperty,System.Windows ItemsSourceProperty
리턴 System.Windows.DependencyProperty

OrientationProperty 공개적으로 정적으로 프로퍼티

Gets or sets the orientation in which child items are stacked within the panel.
public static DependencyProperty,System.Windows OrientationProperty
리턴 System.Windows.DependencyProperty

SlideDurationProperty 공개적으로 정적으로 프로퍼티

Gets or sets the duration of the slide animation when moving items within the stack.
public static DependencyProperty,System.Windows SlideDurationProperty
리턴 System.Windows.DependencyProperty