Skip to main content

TreeListView.CalcHitInfo(Point) Method

Returns information about the specified element contained within the treelist view.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v23.2.dll

NuGet Package: DevExpress.Wpf.Grid.Core

Declaration

public TreeListViewHitInfo CalcHitInfo(
    Point hitTestPoint
)

Parameters

Name Type Description
hitTestPoint Point

A Point structure which specifies the test point coordinates relative to the map’s top-left corner.

Returns

Type Description
TreeListViewHitInfo

A TreeListViewHitInfo object that contains information about the specified view element.

Remarks

The CalcHitInfo method allows you to obtain information about any element contained within the treelist view. This can be useful when it is required to determine which element of a view is located under the test point. The CalcHitInfo method returns a TreeListViewHitInfo object that contains the required information (visual element, its location within a view, etc.).

To learn more, see Hit Information.

See Also