TreeViewControl.CalcHitInfo(Point) Method
Returns information about the specified element in the TreeViewControl.
Namespace: DevExpress.Xpf.Grid
Assembly: DevExpress.Xpf.Grid.v24.2.dll
NuGet Package: DevExpress.Wpf.Grid.Core
#Declaration
public TreeListViewHitInfo CalcHitInfo(
Point hitTestPoint
)
#Parameters
Name | Type | Description |
---|---|---|
hit |
Point | The test point coordinates relative to the Tree |
#Returns
Type | Description |
---|---|
Tree |
The information about the specified view element. |
#Remarks
The CalcHitInfo method allows you to obtain information about any element contained within the TreeViewControl. Use this method to determine which view element is located under the test point. The CalcHitInfo method returns a TreeListViewHitInfo object that contains the required information (the visual element, its location within a view, etc.).
For information on how to recognize which element is located at the specified screen coordinates, refer to the following DevExpress WPF Grid help topic: Hit Information.