menu

WinForms

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

    Show / Hide Table of Contents

    Class CanDragDropEventArgs

    The class that represents the event arguments provided by the CanDragDrop event.

    Inheritance
    System.Object
    CanDragDropEventArgs
    Namespace: Syncfusion.Windows.Forms.Tools.XPMenus
    Assembly: Syncfusion.Tools.Windows.dll
    Syntax
    public class CanDragDropEventArgs : CancelEventArgs

    Constructors

    CanDragDropEventArgs(Object, Boolean)

    Creates a new instance of the CanDragDropEventArgs class.

    Declaration
    public CanDragDropEventArgs(object destinationParent, bool cancel)
    Parameters
    Type Name Description
    System.Object destinationParent

    The destination ParentBarItem or Bar.

    System.Boolean cancel

    The initial cancel state.

    Properties

    DestinationParent

    Returns the parent into which a drag-drop is attempted.

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

    This object could be a ParentBarItem or a Bar.

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