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
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
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