Class DockPanel
Implements Docking layout control
Inherited Members
Namespace: EmptyKeys.UserInterface.Controls
Assembly: EmptyKeys.UserInterface.dll
Syntax
public class DockPanel : Panel
Constructors
DockPanel()
Initializes a new instance of the DockPanel class.
Declaration
public DockPanel()
Fields
DockProperty
The dock property
Declaration
public static readonly DependencyProperty DockProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
LastChildFillProperty
The last child fill property
Declaration
public static readonly DependencyProperty LastChildFillProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
Properties
LastChildFill
Gets or sets a value indicating whether [last child fill].
Declaration
public bool LastChildFill { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Methods
ArrangeOverride(Size)
Arrange layout pass - overrider method for children
Declaration
protected override Size ArrangeOverride(Size finalSize)
Parameters
Type | Name | Description |
---|---|---|
EmptyKeys.UserInterface.Size | finalSize | The final size. |
Returns
Type | Description |
---|---|
EmptyKeys.UserInterface.Size |
Overrides
GetDock(DependencyObject)
Gets the dock.
Declaration
public static Dock GetDock(DependencyObject obj)
Parameters
Type | Name | Description |
---|---|---|
DependencyObject | obj | The object. |
Returns
Type | Description |
---|---|
Dock |
MeasureOverride(Size)
Measure layout pass
Declaration
protected override Size MeasureOverride(Size availableSize)
Parameters
Type | Name | Description |
---|---|---|
EmptyKeys.UserInterface.Size | availableSize | available size for element |
Returns
Type | Description |
---|---|
EmptyKeys.UserInterface.Size |
Overrides
SetDock(DependencyObject, Dock)
Sets the dock.
Declaration
public static void SetDock(DependencyObject obj, Dock value)
Parameters
Type | Name | Description |
---|---|---|
DependencyObject | obj | The object. |
Dock | value | The value. |