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

CalcNodeDragImageIndexEventArgs(TreeListNode, Int32, Point, DragEventArgs) Constructor

In This Article

Initializes a new instance of the CalcNodeDragImageIndexEventArgs class.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v24.2.dll

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

#Declaration

public CalcNodeDragImageIndexEventArgs(
    TreeListNode overNode,
    int imageIndex,
    Point ptClient,
    DragEventArgs dragArgs
)

#Parameters

Name Type Description
overNode TreeListNode

A TreeListNode object which represents the target node. This value is assigned to the NodeEventArgs.Node property.

imageIndex Int32

An integer value specifying the index of the image in the source collection. This value is assigned to the CalcNodeDragImageIndexEventArgs.ImageIndex property.

ptClient Point

A Point structure representing the mouse pointer’s coordinates relative to the top-left corner of the control. This value is assigned to the CalcNodeDragImageIndexEventArgs.PtClient property.

dragArgs DragEventArgs

A DragEventArgs object which provides data for the drag-and-drop events. This value is assigned to the CalcNodeDragImageIndexEventArgs.DragArgs property.

See Also