FlowLayout Element
Defines a layout in which items flow one after another.
Syntax
<FlowLayout
AllowWrap="{true | false}"
FillStrip="{true | false}"
ItemAlignment="{Center | Far | Fill | Near}"
MinimumSampleSize="int"
MissingItemPolicy="{SizeToAverage | SizeToLargest | SizeToSmallest | Wait}"
Orientation="{Horizontal | Vertical}"
Repeat="{Always | Never | WhenTooBig | WhenTooSmall}"
RepeatGap="MajorMinor element"
Spacing="MajorMinor element"
StripAlignment="{Center | Far | Near}"
/>
Attributes
AllowWrap
Enables item wrapping.
FillStrip
Enables the strip fill.
ItemAlignment
Specifies the alignment of an item inside the strip, which must be a member of the ItemAlignment enumeration.
MinimumSampleSize
Specifies the minimum amount of available items required before the MissingItemPolicy can be applied. Before this number of items is available, MissingItemPolicy defaults to Wait.
MissingItemPolicy
Specifies the size the layout should assume for missing items. This must be a member of the MissingItemPolicy enumeration.
Orientation
Specifies the layout flow orientation, which must be a member of the Orientation enumeration.
Repeat
Specifies when to repeat items. This value must be a member of the RepeatPolicy enumeration. When enabled, items being flowed will infinitely repeat in either direction, preventing the user from reaching the end of the list.
RepeatGap
When Repeat is enabled, specifies the distance between repeated instances as a MajorMinor element. Use the inline construction for this element.
Spacing
Specifies the space between items in the flow as a MajorMinor element. Use the inline construction for this element.
StripAlignment
Specifies the alignment of a strip, which must be a member of the StripAlignment enumeration.
Requirements
Platform: Windows Vista Ultimate, Windows Vista Home Premium, and later
See Also