Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

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