Skip to main content
All docs
V24.2

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.v24.2.dll

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