Back to Devexpress

DxHtmlPainterContext.CalcHitInfo(Point, Object) Method

windowsforms-devexpress-dot-utils-dot-html-dot-dxhtmlpaintercontext-dot-calchitinfo-x28-system-dot-drawing-dot-point-system-dot-object-x29.md

latest1.9 KB
Original Source

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

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

Declaration

csharp
public DxHtmlHitInfo CalcHitInfo(
    Point point,
    object interactivityKey = null
)
vb
Public Function CalcHitInfo(
    point As Point,
    interactivityKey As Object = Nothing
) As DxHtmlHitInfo

Parameters

NameTypeDescription
pointPoint

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

|

Optional Parameters

NameTypeDefaultDescription
interactivityKeyObjectnull

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

|

Returns

TypeDescription
DevExpress.Utils.Html.DxHtmlHitInfo

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

|

See Also

DxHtmlPainterContext Class

DxHtmlPainterContext Members

DevExpress.Utils.Html Namespace