Skip to main content
A newer version of this page is available. .

CalcNodeDragImageIndexEventArgs.PtClient Property

Gets the current mouse pointer’s coordinates relative to the top-left corner of the control.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v19.2.dll

Declaration

public Point PtClient { get; }

Property Value

Type Description
Point

A Point structure representing the current mouse pointer’s coordinates.

Remarks

You can use the value obtained via the PtClient property to identify the element currently located under the mouse pointer. Pass this value to the TreeList.CalcHitInfo method, then use members of the obtained TreeListHitInfo object to identify the element.

This can be used to display various images with respect to the element located under the mouse pointer.

Note: you can identify the node currently located under the mouse pointer directly via the NodeEventArgs.Node property.

See Also