WPF

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class TreeViewItemDroppedEventArgs - WPF API Reference | Syncfusion ItemDropped event. ">

    Show / Hide Table of Contents

    Class TreeViewItemDroppedEventArgs

    Represents the class that provides the data for the ItemDropped event.

    Inheritance
    System.Object
    System.EventArgs
    TreeViewItemDroppedEventArgs
    Inherited Members
    System.EventArgs.Empty
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.UI.Xaml.TreeView
    Assembly: Syncfusion.SfTreeView.WPF.dll
    Syntax
    public class TreeViewItemDroppedEventArgs : EventArgs

    Constructors

    TreeViewItemDroppedEventArgs()

    Initializes a new instance of the TreeViewItemDroppedEventArgs class.

    Declaration
    public TreeViewItemDroppedEventArgs()

    Properties

    Data

    Gets the data object that contains the data associated while dragging the items.

    Declaration
    public IDataObject Data { get; }
    Property Value
    Type Description
    System.Windows.IDataObject
    Remarks

    This data has the two values named Source and Nodes. Source is the object where the dragged data is from. Nodes is the ObservableCollection TreeViewNode which are dragged.

    DraggingNodes

    Gets the collection of TreeViewNode which are dragged.

    Declaration
    public ObservableCollection<TreeViewNode> DraggingNodes { get; }
    Property Value
    Type Description
    System.Collections.ObjectModel.ObservableCollection<TreeViewNode>

    DragSource

    Gets the reference to the dependency object that is the source of the transferred data.

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

    DropPosition

    Gets a value indicating the position where dragged nodes are going to be dropped.

    Declaration
    public DropPosition DropPosition { get; }
    Property Value
    Type Description
    DropPosition

    TargetNode

    Gets the node where the dragged items are going to be dropped.

    Declaration
    public TreeViewNode TargetNode { get; }
    Property Value
    Type Description
    TreeViewNode
    Back to top Generated by DocFX
    Copyright © 2001 - 2022 Syncfusion Inc. All Rights Reserved