Skip to main content
A newer version of this page is available. .
All docs
V22.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.v22.2.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