Back to Devexpress

TreeListView.CalcHitInfo(DependencyObject) Method

wpf-devexpress-dot-xpf-dot-grid-dot-treelistview-dot-calchitinfo-x28-system-dot-windows-dot-dependencyobject-x29.md

latest2.2 KB
Original Source

TreeListView.CalcHitInfo(DependencyObject) Method

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

Namespace : DevExpress.Xpf.Grid

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

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
public TreeListViewHitInfo CalcHitInfo(
    DependencyObject d
)
vb
Public Function CalcHitInfo(
    d As DependencyObject
) As TreeListViewHitInfo

Parameters

NameTypeDescription
dDependencyObject

A DependencyObject object that is the element contained within the treelist view.

|

Returns

TypeDescription
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 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 (visual element, its location within a view, etc.).

To learn more, see Hit Information.

See Also

CalcHitInfo

TreeListView Class

TreeListView Members

DevExpress.Xpf.Grid Namespace