Skip to main content
All docs
V25.2
  • BeforeDropNodeEventArgs(TreeListNode, TreeListNode, Int32, Boolean) Constructor

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

    Namespace: DevExpress.XtraTreeList

    Assembly: DevExpress.XtraTreeList.v25.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