menu

WPF

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

    Show / Hide Table of Contents

    Class DragTreeViewItemAdvEventArgs

    Contains arguments relevant to drag-and-drop of the TreeViewAdv.

    Inheritance
    System.Object
    DragTreeViewItemAdvEventArgs
    Namespace: Syncfusion.Windows.Tools.Controls
    Assembly: Syncfusion.Tools.Wpf.dll
    Syntax
    public class DragTreeViewItemAdvEventArgs : RoutedEventArgs
    Remarks

    This class is responsible for packaging the event data for drag-and-drop.

    Constructors

    DragTreeViewItemAdvEventArgs(RoutedEvent)

    Initializes a new instance of the DragTreeViewItemAdvEventArgs class.

    Declaration
    public DragTreeViewItemAdvEventArgs(RoutedEvent routedEvent)
    Parameters
    Type Name Description
    System.Windows.RoutedEvent routedEvent

    The routed event.

    Properties

    AllowDragDrop

    Gets or sets a value indicating whether this drop operation needs to be cancel.

    Declaration
    public bool AllowDragDrop { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if cancel; otherwise, false.

    Cancel

    Gets or sets a value indicating whether this drop operation needs to be cancel.

    Declaration
    public bool Cancel { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if cancel; otherwise, false.

    Data

    Gets or sets the data.

    Declaration
    public DataObject Data { get; set; }
    Property Value
    Type Description
    System.Windows.DataObject

    The data of data object.

    DraggingItems

    Gets or sets the dragging items.

    Declaration
    public TreeViewItemAdvCollection DraggingItems { get; }
    Property Value
    Type Description
    TreeViewItemAdvCollection

    The dragging items.

    DropIndex

    Gets or sets the index of the drop.

    Declaration
    public int DropIndex { get; set; }
    Property Value
    Type Description
    System.Int32

    The index of the drop.

    Effects

    Gets or sets the effects.

    Declaration
    public TreeViewItemAdvDragDropEffects Effects { get; set; }
    Property Value
    Type Description
    TreeViewItemAdvDragDropEffects

    The effects.

    TargetDropItem

    Gets or sets the target drop item.

    Declaration
    public object TargetDropItem { get; }
    Property Value
    Type Description
    System.Object

    The target drop item.

    TargetOverItem

    Gets or sets the target over item.

    Declaration
    public object TargetOverItem { get; }
    Property Value
    Type Description
    System.Object

    The target over item.

    See Also

    TreeViewAdv
    System.Windows.RoutedEventArgs
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved