BaseLayoutItem.Bounds Property

Gets the layout item's bounding rectangle.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v20.1.dll

Declaration

[Browsable(false)]
public Rectangle Bounds { get; }
<Browsable(False)>
Public ReadOnly Property Bounds As Rectangle

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