WinUI

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class TreeViewItemDragStartingEventArgs - WinUI API Reference | Syncfusion ItemDragStarting event. ">

    Show / Hide Table of Contents

    Class TreeViewItemDragStartingEventArgs

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

    Inheritance
    System.Object
    TreeViewItemDragStartingEventArgs
    Namespace: Syncfusion.UI.Xaml.TreeView
    Assembly: Syncfusion.TreeView.WinUI.dll
    Syntax
    public class TreeViewItemDragStartingEventArgs : EventArgs

    Constructors

    TreeViewItemDragStartingEventArgs()

    Initializes a new instance of the TreeViewItemDragStartingEventArgs class.

    Declaration
    public TreeViewItemDragStartingEventArgs()

    Properties

    Cancel

    Gets or sets a value indicating whether dragging should be canceled.

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

    Data

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

    Declaration
    public DataPackage Data { get; set; }
    Property Value
    Type Description
    Windows.ApplicationModel.DataTransfer.DataPackage
    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.If you set the Data property, the value of DraggingNodes property will be null.

    DraggingNodes

    Gets the collection of TreeViewNode which are dragged.If you set the Data property, the value of DraggingNodes property will be null.

    Declaration
    public ObservableCollection<TreeViewNode> DraggingNodes { get; }
    Property Value
    Type Description
    System.Collections.ObjectModel.ObservableCollection<TreeViewNode>
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved