Represents a panel that positions child elements in sequential order, breaking content to the next row or column at the edge of the containing box. Subsequent ordering happens sequentially from top to bottom or from right to left, depending on the value of the Orientation property.
- Implements:
-
ILogical
Parent IVisualParent
Constructors
AnimatedWrapPanel()
Initializes an instance of the class.
Properties
IsEmptySpaceEvenlyDistributed
Gets or sets a value indicating whether any empty space in a row/column will be evenly distributed around the elements. This is a dependency property.
Property Value
- bool:
true
if any empty space in a row/column will be evenly distributed around the elements; otherwisefalse
. The default value isfalse
.
ItemHeight
Gets or sets a value that specifies the height of all items. This is a dependency property.
Property Value
Remarks
If this property is not set (or if it is set to Auto
in XAML or to Na
ItemWidth
Gets or sets a value that specifies the width of all items. This is a dependency property.
Property Value
Remarks
If this property is not set (or if it is set to Auto
in XAML or to Na
Orientation
Gets or sets the orientation that the child elements are arranged. This is a dependency property.
Property Value
- Orientation:
The orientation that the child elements are arranged. The default value is
Orientation.Horizontal
.
Methods
ArrangeElements(IList<UIElement>, Size)
Positions the specified elements and determines a size for a Framework
Parameter | Type | Description |
---|---|---|
elements | IList<UIElement> | The elements to be arranged. |
finalSize | Size | The final area within the parent that this element should use to arrange itself and the specified elements. |
Returns
- Size:
The actual size used.
MeasureElements(IList<UIElement>, Size)
Measures the size in layout required for the specified elements and determines a size for the Framework
Parameter | Type | Description |
---|---|---|
elements | IList<UIElement> | The elements to be measured. |
availableSize | Size | The available size that this element can give to the specified elements. Infinity can be specified as a value to indicate that the element will size to whatever content is available. |
Returns
- Size:
The size that this element determines it needs during layout, based on its calculations of the specified elements.
Fields
IsEmptySpaceEvenlyDistributedProperty
Identifies the Is
ItemHeightProperty
Identifies the Item
ItemWidthProperty
Identifies the Item
OrientationProperty
Identifies the Orientation dependency property. This field is read-only.
Inherited Members
-
Panel
Base. Animation Count Property -
Panel
Base. Arrange Animation Property -
Panel
Base. Arrange Height Animated Property -
Panel
Base. Arrange State Property -
Panel
Base. Arrange Width Animated Property -
Panel
Base. Arrange XAnimated Property -
Panel
Base. Arrange YAnimated Property -
Panel
Base. Is Animated Property -
Panel
Base. Is Layout Update Pending Property -
Panel
Base. Are Leaving Elements Animated Property -
Panel
Base. Arrange Element(UIElement, bool) -
Panel
Base. Arrange Element(UIElement, Rect?, bool) -
Panel
Base. Arrange Element(Panel Base, UIElement, bool) -
Panel
Base. Arrange Element(Panel Base, UIElement, Rect?, bool) -
Panel
Base. Get Arrange Height Animated(UIElement) -
Panel
Base. Set Arrange Height Animated(UIElement, double) -
Panel
Base. Arrange Override(Size) -
Panel
Base. Get Arrange Rect Animated(UIElement) -
Panel
Base. Get Arrange State(UIElement) -
Panel
Base. Set Arrange State(UIElement, Arrange State) -
Panel
Base. Get Arrange Width Animated(UIElement) -
Panel
Base. Set Arrange Width Animated(UIElement, double) -
Panel
Base. Get Arrange XAnimated(UIElement) -
Panel
Base. Set Arrange XAnimated(UIElement, double) -
Panel
Base. Get Arrange YAnimated(UIElement) -
Panel
Base. Set Arrange YAnimated(UIElement, double) -
Panel
Base. Get Is Animated(UIElement) -
Panel
Base. Set Is Animated(UIElement, bool) -
Panel
Base. Measure Override(Size) -
Panel
Base. Get Visual Child(int) -
Panel
Base. On Visual Children Changed(Dependency Object, Dependency Object) -
Panel
Base. Arrange Animation -
Panel
Base. Arrange Animation Resolved -
Panel
Base. Is Layout Update Pending -
Panel
Base. Are Leaving Elements Animated -
Panel
Base. Has Leaving Children -
Panel
Base. Leaving Children -
Panel
Base. Visual Children Count