TreeViewControl.CalcHitInfo(Point) Method
Returns information about the specified element in the TreeViewControl.
Namespace: DevExpress.Xpf.Grid
Assembly: DevExpress.Xpf.Grid.v20.2.dll
NuGet Packages: DevExpress.WindowsDesktop.Wpf.Grid.Core, DevExpress.Wpf.Grid.Core
Declaration
Parameters
Name | Type | Description |
---|---|---|
hitTestPoint | Point | The test point coordinates relative to the TreeViewControl‘s top-left corner. |
Returns
Type | Description |
---|---|
TreeListViewHitInfo | 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.