menu

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class DragAndDropController - MAUI API Reference | Syncfusion

    Show / Hide Table of Contents

    Class DragAndDropController

    Manages drag and drop operations of SfTreeView.

    Inheritance
    System.Object
    DragAndDropController
    Namespace: Syncfusion.Maui.TreeView
    Assembly: Syncfusion.Maui.TreeView.dll
    Syntax
    public class DragAndDropController : Object

    Constructors

    DragAndDropController()

    Initializes a new instance of the DragAndDropController class.

    Declaration
    public DragAndDropController()

    DragAndDropController(SfTreeView)

    Initializes a new instance of the DragAndDropController class.

    Declaration
    public DragAndDropController(SfTreeView treeView)
    Parameters
    Type Name Description
    SfTreeView treeView

    denotes the instance of SfTreeView.

    Properties

    AutoExpandDelay

    Gets or sets the time delay to expand the item automatically when CanAutoExpand property is true.

    Declaration
    public TimeSpan AutoExpandDelay { get; set; }
    Property Value
    Type Description
    System.TimeSpan

    The default value is 3 sec.

    CanAutoExpand

    Gets or sets a value indicating whether a node should be automatically expanded when dragged nodes hover over it for specific time interval.

    Declaration
    public bool CanAutoExpand { get; set; }
    Property Value
    Type
    System.Boolean
    Remarks

    This property is applicable when the DropPosition is set to DropAsChild. When set to true, the node will automatically expand after the specified time interval defined by the AutoExpandDelay property.

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