Returns information about the specified element contained within the treelist view.
public TreeListViewHitInfo CalcHitInfo( DependencyObject d )
Public Function CalcHitInfo( d As DependencyObject ) As TreeListViewHitInfo
A DependencyObject object that is the element contained within the treelist view.
A TreeListViewHitInfo object that contains information about the specified view element.
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.