Skip to main content
All docs
V25.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.v25.1.dll

    NuGet Packages: DevExpress.Data.Desktop, DevExpress.ExpressApp.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