Class DragAllowEventArgs
Custom cancellable event argument class used for the DragAllow event.
Inheritance
System.Object
DragAllowEventArgs
Namespace: Syncfusion.Windows.Forms.Tools
Assembly: Syncfusion.Tools.Windows.dll
Syntax
public class DragAllowEventArgs : CancelEventArgs
Remarks
The DockingManager uses the DragAllow event to provide information about an impending drag operation and provides a chance to accept/cancel the drag.
Constructors
DragAllowEventArgs(Control)
Creates a new instance of the DockAllowEventArgs class.
Declaration
public DragAllowEventArgs(Control ctrldrag)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.Control | ctrldrag | The control being dragged. |
Fields
ctrlDrag
Declaration
protected Control ctrlDrag
Field Value
Type |
---|
System.Windows.Forms.Control |
Properties
Control
Returns the control that is about to be dragged.
Declaration
public Control Control { get; }
Property Value
Type | Description |
---|---|
System.Windows.Forms.Control | A System.Windows.Forms.Control instance representing the control that is about to be dragged. |