BaseLayoutItem.Bounds Property
Gets the layout item’s bounding rectangle.
Namespace: DevExpress.XtraLayout
Assembly: DevExpress.XtraLayout.v24.1.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
Property Value
Type | Description |
---|---|
Rectangle | A Rectangle structure that specifies the bounding rectangle. |
Remarks
To change the size and coordinates of an item’s top left corner use the BaseLayoutItem.Size and BaseLayoutItem.Location properties, respectively.
Note
The Bounds property returns the coordinates relative to the top left corner of the group that owns the current layout item. To get the coordinates relative to the layout control’s top left corner use the BoundsRelativeToControl property of the BaseLayoutItem.ViewInfo object.
See Also