BaseLayoutItem.Size Property
Gets or sets the layout item’s size.
Namespace: DevExpress.XtraLayout
Assembly: DevExpress.XtraLayout.v24.1.dll
NuGet Package: DevExpress.Win.Navigation
#Declaration
#Property Value
Type | Description |
---|---|
Size | A |
#Remarks
The Size structure stores the width and height of the layout item. Changing the Width and Height attributes modifies the item’s size relative to the item’s top left corner. This may also affect the size of adjacent layout items.
The minimum and maximum sizes of the layout item are determined by the BaseLayoutItem.MinSize and BaseLayoutItem.MaxSize properties, respectively.
The LayoutControl takes into account the size constraints imposed by the current and adjacent layout items while setting the item’s size via the Size and/or BaseLayoutItem.Location properties. The item’s new size will be set as near as possible to the assigned size so that the size constraints of the items are not violated.