Back to Devexpress

TreeList.GetHitInfo(Point) Method

windowsforms-devexpress-dot-xtratreelist-dot-treelist-dot-gethitinfo-x28-system-dot-drawing-dot-point-x29.md

latest2.2 KB
Original Source

TreeList.GetHitInfo(Point) Method

OBSOLETE

You should use the 'CalcHitInfo' method instead of 'GetHitInfo'

Returns information on the current TreeList control at a specified point.

Namespace : DevExpress.XtraTreeList

Assembly : DevExpress.XtraTreeList.v25.2.dll

NuGet Packages : DevExpress.Win.Navigation, DevExpress.Win.TreeList

Declaration

csharp
[EditorBrowsable(EditorBrowsableState.Never)]
[Obsolete("You should use the 'CalcHitInfo' method instead of 'GetHitInfo'")]
public TreeListHitInfo GetHitInfo(
    Point pt
)
vb
<EditorBrowsable(EditorBrowsableState.Never)>
<Obsolete("You should use the 'CalcHitInfo' method instead of 'GetHitInfo'")>
Public Function GetHitInfo(
    pt As Point
) As TreeListHitInfo

Parameters

NameTypeDescription
ptPoint

A Point that represents a single (x,y) coordinate.

|

Returns

TypeDescription
TreeListHitInfo

A TreeListHitInfo object containing information on the TreeList control at a specified point.

|

Remarks

This method is obsolete. Use the TreeList.CalcHitInfo method instead.

See Also

TreeList Class

TreeList Members

DevExpress.XtraTreeList Namespace