Skip to main content
All docs
V24.2

TreeViewControl.CalcHitInfo(DependencyObject) 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(
    DependencyObject d
)

Parameters

Name Type Description
d DependencyObject

The element in the TreeViewControl.

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 a user has clicked or which element is located under the mouse pointer. 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.

See Also