LayoutItem.SizeMode Property

Gets or sets how the current item is resized.

Namespace: DevExpress.UI.Xaml.Layout

Assembly: DevExpress.UI.Xaml.Layout.v18.1.dll

Declaration

public ItemSizeMode SizeMode { get; set; }
Public Property SizeMode As ItemSizeMode

Property Value

Type Description
ItemSizeMode

An ItemSizeMode that specifies how the current item is resized.

By default, layout items are resized according to the LayoutGroupBase.HorizontalItemSizeMode and LayoutGroupBase.VerticalItemSizeMode properties of the group where the items reside. The LayoutItem.SizeMode property allows you to specify the size mode for individual LayoutItems, overriding the default size mode imposed by the group's settings.

To specify a size mode for a LayoutGroup's items that are not of the LayoutItem type, use the LayoutGroup.SizeMode attached property.

See Also