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

TreeListViewHitInfo Class

A class that contains information about what is located at a specific point within the TreeListView control.

Namespace: DevExpress.Xpf.Grid.TreeList

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

NuGet Package: DevExpress.Wpf.Grid.Core

#Declaration

public class TreeListViewHitInfo :
    GridViewHitInfoBase,
    ITableViewHitInfo,
    IDataViewHitInfo

#Remarks

Hit testing allows you to determine which element is located at a specific point on the screen. This can be used to provide additional hints within your application, manually process clicks on elements, handle drag and drop operations, etc.

Use the TreeListView.CalcHitInfo method to obtain the information on any point within a TreeListView. This method returns a TreeListViewHitInfo object that contains the required information (visual element, its location within a view, etc). To obtain which view element resides at the test point, use the TreeListViewHitInfo.HitTest property.

WPF TreeList

#Inheritance

Object
DevExpress.Xpf.Core.HitInfoBase<DevExpress.Xpf.Grid.DataViewHitTestVisitorBase>
See Also