Skip to main content
A newer version of this page is available. .
All docs
V22.1

DxHtmlElementMouseEventArgs.Bounds Property

Returns actual bounds of a clicked element. The returned value depends on the screen scaling. For example, the Bounds property for a square div element with 50px sides returns Height and Width values of 100px when shown on a display with a 200% Windows scaling option.

Namespace: DevExpress.Utils.Html

Assembly: DevExpress.Data.Desktop.v22.1.dll

NuGet Packages: DevExpress.Data.Desktop, DevExpress.Win.Dashboard.Design, DevExpress.Win.Design

Declaration

public Rectangle Bounds { get; }

Property Value

Type Description
Rectangle

A Rectangle that stores location and size of a related element.

See Also