Skip to main content
A newer version of this page is available. .
Bar

BarItemLink.Bounds Property

Gets the bounds of the current link.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v19.1.dll

Declaration

[Browsable(false)]
public Rectangle Bounds { get; }

Property Value

Type Description
Rectangle

A Rectangle structure that specifies the link’s boundaries.

Remarks

This property returns a Rectangle which represents the boundaries of the link relative to the top left corner of the bar which displays this link. This bar is specified by the BarItemLink.Bar property.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Bounds property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also