Skip to main content
All docs
V24.2

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

BeforeDropNodeEventArgs(TreeListNode, TreeListNode, Int32, Boolean) Constructor

In This Article

Initializes a new instance of the BeforeDropNodeEventArgs class with specified settings.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v24.2.dll

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

#Declaration

public BeforeDropNodeEventArgs(
    TreeListNode sourceNode,
    TreeListNode destinationNode,
    int destinationIndex,
    bool isCopy
)

#Parameters

Name Type Description
sourceNode TreeListNode

The node that the user is about to drop. This value is assigned to the SourceNode property.

destinationNode TreeListNode

The parent node.

destinationIndex Int32

The position of the node among the child nodes of the parent node after drop. This value is assigned to the DestinationIndex property.

isCopy Boolean

true if the user copied the node; otherwise, false. This value is assigned to the IsCopy property.

See Also