C# Class ComponentFactory.Quicksilver.Layout.DockLayout

Arranges child elements against the panel edges.
Inheritance: Layout
Afficher le fichier Open project: ComponentFactory/Quicksilver Class Usage Examples

Méthodes publiques

Свойство Type Description
DockProperty System.Windows.DependencyProperty
LastChildFillProperty System.Windows.DependencyProperty

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
DockLayout ( ) : System
GetDock ( UIElement element ) : Dock
IsValidDock ( object o ) : bool
OnDockChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Method Details

MeasureChildren() public méthode

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.
Résultat System.Windows.Size

SetDock() public static méthode

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.
Résultat void

TargetChildren() public méthode

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.
Résultat void

Property Details

DockProperty public_oe static_oe property

Identifies the Dock dependency property.
public static DependencyProperty,System.Windows DockProperty
Résultat System.Windows.DependencyProperty

LastChildFillProperty public_oe static_oe property

Identifies the LastChildFill dependency property.
public static DependencyProperty,System.Windows LastChildFillProperty
Résultat System.Windows.DependencyProperty