Skip to main content
All docs
V25.1
  • DxHtmlPainterContext.CalcHitInfo(Point, Object) Method

    Returns the hit information about an HTML element located at the given coordinates.

    Namespace: DevExpress.Utils.Html

    Assembly: DevExpress.Utils.v25.1.dll

    NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core

    Declaration

    public DxHtmlHitInfo CalcHitInfo(
        Point point,
        object interactivityKey = null
    )

    Parameters

    Name Type Description
    point Point

    The coordinates of a point to check. The (0,0) coordinates belong to the top left corner of a template.

    Optional Parameters

    Name Type Default Description
    interactivityKey Object null

    The ID that allows you to obtain the specific instance of a custom-drawn template.

    Returns

    Type Description
    DevExpress.Utils.Html.DxHtmlHitInfo

    Contains hit information related to the element that is located underneath the target point.

    See Also