Back to Devexpress

BaseLayoutItem.Bounds Property

windowsforms-devexpress-dot-xtralayout-dot-baselayoutitem-b8e6cb8e.md

latest1.9 KB
Original Source

BaseLayoutItem.Bounds Property

Gets the layout item’s bounding rectangle.

Namespace : DevExpress.XtraLayout

Assembly : DevExpress.XtraLayout.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

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

Property Value

TypeDescription
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

Location

Size

BaseLayoutItem Class

BaseLayoutItem Members

DevExpress.XtraLayout Namespace