ToolboxDragItemStartEventArgs.Cancel Property

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

Namespace: DevExpress.XtraToolbox

Assembly: DevExpress.XtraBars.v20.1.dll

Declaration

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

Property Value

Type Description
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