Skip to main content

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
ItemSizeMode

An ItemSizeMode value that specifies how items within the current group are resized when the items are horizontally 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 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.

See Also