using UWP.Markup;
var value = new VariableSizedWrapGrid()
.VerticalChildrenAlignment(VerticalAlignment.Center)
.Orientation(Orientation.Horizontal)
.MaximumRowsOrColumns(3)
.ItemHeight(100)
.ItemWidth(100)
.HorizontalChildrenAlignment(HorizontalAlignment.Center);
WinUI Methods
Sets the alignment
rules by which child elements are arranged for the vertical
dimension. The default is Top
.
Sets the direction in which child elements are arranged. The default is Vertical
.
Sets a value that influences the wrap point, also accounting for Orientation
. The default is -1, which is a special value that indicates no maximum.
Sets the width of the layout area for each item that is contained in a VariableSizedWrapGrid
. The default is Double.NaN
, which results in the "Auto"
layout behavior.
Sets a value that influences the wrap point, also accounting for Orientation
. The default is -1, which is a special value that indicates no maximum.
Sets the alignment rules by which child elements are arranged for the horizontal
dimension.