Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TreeListView.CalcHitInfo(DependencyObject) Method

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

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

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

#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 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