menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class TreeGridNodeDropEventArgs - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class TreeGridNodeDropEventArgs

    Provides data for the TreeGridNodeDrop event, which occurs when an item to be dropped within Gantt control.

    Inheritance
    System.Object
    TreeGridNodeDropEventArgs
    Namespace: Syncfusion.Windows.Controls.Gantt
    Assembly: Syncfusion.Gantt.Wpf.dll
    Syntax
    public class TreeGridNodeDropEventArgs : CancelEventArgs

    Constructors

    TreeGridNodeDropEventArgs()

    Declaration
    public TreeGridNodeDropEventArgs()

    Properties

    Nodes

    Gets the item that contains the associated data while dragging the rows.

    Declaration
    public object Nodes { get; }
    Property Value
    Type
    System.Object
    Remarks

    When the GanttSelectionMode is set to Multiple, retrieve several nodes from Nodes upon selecting and dragging multiple nodes.

    Position

    Gets the position where the dragged node is dropped relative to the target node.

    Declaration
    public DropPosition Position { get; }
    Property Value
    Type
    DropPosition
    Remarks

    This property indicates whether the dragged node is dropped in relation to the target node as one of the following: Default, DropAbove, DropBelow, DropAsChild, DropHere, or None. It enables precise drag-and-drop operations within the GanttGrid. Use this property in the event handler to customize behavior based on the drop position, such as reordering tasks or updating the node hierarchy.

    TargetNode

    Gets a value indicating the target node which is going to drop.

    Declaration
    public object TargetNode { get; }
    Property Value
    Type
    System.Object
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved