C# Класс ComponentFactory.Quicksilver.Layout.DockLayout

Arranges child elements against the panel edges.
Наследование: Layout
Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
DockProperty System.Windows.DependencyProperty
LastChildFillProperty System.Windows.DependencyProperty

Открытые методы

Метод Описание
MeasureChildren ( string layoutId, MetaPanelBase metaPanel, MetaElementStateDict stateDict, ICollection elements, Size availableSize ) : Size

Measure the layout size required to arrange all elements.

SetDock ( UIElement element, Dock dock ) : void

Sets the value of the Dock attached property to a specified element.

TargetChildren ( string layoutId, MetaPanelBase metaPanel, MetaElementStateDict stateDict, ICollection elements, Size finalSize ) : void

Calculate target state for each element based on layout algorithm.

Приватные методы

Метод Описание
DockLayout ( ) : System
GetDock ( UIElement element ) : Dock
IsValidDock ( object o ) : bool
OnDockChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Описание методов

MeasureChildren() публичный Метод

Measure the layout size required to arrange all elements.
public MeasureChildren ( string layoutId, MetaPanelBase metaPanel, MetaElementStateDict stateDict, ICollection elements, Size availableSize ) : Size
layoutId string Identifier of the layout to be used.
metaPanel MetaPanelBase Reference to owning panel instance.
stateDict MetaElementStateDict Dictionary of per-element state.
elements ICollection Collection of elements to be measured.
availableSize System.Windows.Size Available size that can be given to elements.
Результат System.Windows.Size

SetDock() публичный статический Метод

Sets the value of the Dock attached property to a specified element.
public static SetDock ( UIElement element, Dock dock ) : void
element UIElement The element to which the attached property is written.
dock Dock The new Dock value.
Результат void

TargetChildren() публичный Метод

Calculate target state for each element based on layout algorithm.
public TargetChildren ( string layoutId, MetaPanelBase metaPanel, MetaElementStateDict stateDict, ICollection elements, Size finalSize ) : void
layoutId string Identifier of the layout to be used.
metaPanel MetaPanelBase Reference to owning panel instance.
stateDict MetaElementStateDict Dictionary of per-element state.
elements ICollection Collection of elements to be arranged.
finalSize System.Windows.Size Size that layout should use to arrange child elements.
Результат void

Описание свойств

DockProperty публичное статическое свойство

Identifies the Dock dependency property.
public static DependencyProperty,System.Windows DockProperty
Результат System.Windows.DependencyProperty

LastChildFillProperty публичное статическое свойство

Identifies the LastChildFill dependency property.
public static DependencyProperty,System.Windows LastChildFillProperty
Результат System.Windows.DependencyProperty