DragObjectDropEventArgs.Canceled Property

Gets whether the dragged header has been dropped successfully.

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v20.1.dll

Declaration

public bool Canceled { get; }
Public ReadOnly Property Canceled As Boolean

Property Value

Type Description
Boolean

true if the drag and drop operation was cancelled; otherwise, false.

Remarks

The property returns false if drag and drop was performed successfully and the dragged column or band header was moved to another position. Dragging doesn't end successfully if the end-user tried to move the header to an invalid target position or if dragging was cancelled by pressing the ESC key or the right mouse button. You can also prohibit dropping to a specific position by handling the GridView.DragObjectOver event.

See Also