Back to Devexpress

ToolboxDragItemStartEventArgs.Cancel Property

windowsforms-devexpress-dot-xtratoolbox-dot-toolboxdragitemstarteventargs.md

latest1.7 KB
Original Source

ToolboxDragItemStartEventArgs.Cancel Property

Gets or sets whether a drag-and-drop operation should be canceled.

Namespace : DevExpress.XtraToolbox

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public bool Cancel { get; set; }
vb
Public Property Cancel As Boolean

Property Value

TypeDescription
Boolean

true if a drag-and-drop operation should be canceled; otherwise, false.

|

Remarks

The Cancel property allows you to cancel a drag-and-drop operation when it starts. If the ToolboxControl.DragItemStart event is canceled, the ToolboxControl.DragItemMove and ToolboxControl.DragItemDrop events are not raised.

See Also

Cancel

ToolboxDragItemStartEventArgs Class

ToolboxDragItemStartEventArgs Members

DevExpress.XtraToolbox Namespace