LayoutGroupBase.VerticalItemSizeMode Property
Gets or sets the way items within the current group are resized when the items are vertically aligned.
Namespace: DevExpress.UI.Xaml.Layout.Base
Assembly: DevExpress.UI.Xaml.Layout.v21.2.dll
NuGet Package: DevExpress.Uwp.Controls
Declaration
Property Value
Type | Description |
---|---|
ItemSizeMode | An ItemSizeMode value that specifies how items within the current group are resized when the items are vertically aligned. |
Available values:
Name | Description |
---|---|
Default | The default sizing behavior (either AutoSize or Stretch), determined by the item’s alignment and content and by the item arrangement within a group. |
Stretch | Items are stretched proportionally. You can specify a stretch ratio via the LayoutGroup.StretchRatio attached property. |
AutoSize | Items are auto-sized according to their contents. |
Remarks
You can specify the size mode for individual LayoutItems, and as such override the VerticalItemSizeMode property, via the LayoutItem.SizeMode property. To specify a size mode for other types of items within a group, use the LayoutGroup.SizeMode attached property.