LayoutGroupBase.HorizontalItemSizeMode Property
Gets or sets the way items within the current group are resized when the items are horizontally aligned.
Namespace: DevExpress.UI.Xaml.Layout.Base
Assembly: DevExpress.UI.Xaml.Layout.v21.2.dll
NuGet Package: DevExpress.Uwp.Controls
#Declaration
public ItemSizeMode HorizontalItemSizeMode { get; set; }
#Property Value
Type | Description |
---|---|
Item |
An Item |
Available values:
Name | Description |
---|---|
Default | The default sizing behavior (either Auto |
Stretch | Items are stretched proportionally. You can specify a stretch ratio via the Layout |
Auto |
Items are auto-sized according to their contents. |
#Remarks
You can specify the size mode for individual LayoutItems, and as such override the HorizontalItemSizeMode property, via the LayoutItem.SizeMode property. To specify the size mode for other types of items within a group, use the LayoutGroup.SizeMode attached property.