Class WrapPanel
Implements Wrap Panel layout control
Inherited Members
Namespace: EmptyKeys.UserInterface.Controls
Assembly: EmptyKeys.UserInterface.dll
Syntax
public class WrapPanel : Panel
Constructors
WrapPanel()
Initializes a new instance of the WrapPanel class.
Declaration
public WrapPanel()
Fields
ItemHeightProperty
The item height property
Declaration
public static readonly DependencyProperty ItemHeightProperty
Field Value
| Type | Description |
|---|---|
| DependencyProperty |
ItemWidthProperty
The item width property
Declaration
public static readonly DependencyProperty ItemWidthProperty
Field Value
| Type | Description |
|---|---|
| DependencyProperty |
OrientationProperty
The orientation property
Declaration
public static readonly DependencyProperty OrientationProperty
Field Value
| Type | Description |
|---|---|
| DependencyProperty |
Properties
ItemHeight
Gets or sets the height of the item.
Declaration
public float ItemHeight { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Single | The height of the item. |
ItemWidth
Gets or sets the width of the item.
Declaration
public float ItemWidth { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Single | The width of the item. |
Orientation
Gets or sets the orientation.
Declaration
public Orientation Orientation { get; set; }
Property Value
| Type | Description |
|---|---|
| Orientation | The orientation. |
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
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 |