Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

EndDragRowEventArgs.Canceled Property

Gets a value indicating whether the processed drag operation is canceled.

Namespace: DevExpress.XtraVerticalGrid.Events

Assembly: DevExpress.XtraVerticalGrid.v24.2.dll

NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.VerticalGrid

#Declaration

public bool Canceled { get; }

#Property Value

Type Description
Boolean

true if the drag operation was canceled by the end-user; otherwise false.

#Remarks

When handling the VGridControlBase.EndDragRow event, use the Canceled property to find out if the processed drag operation was canceled during execution.

A row drag operation is canceled when the vertical grid control loses focus, for instance after an Alt+Tab keystroke. Pressing the ESC key during row dragging also cancels the performed drag operation. In these cases, the Canceled property is set to true.

If this property is set to false, the drag operation is not canceled. In this case, it is completed by releasing the mouse button after a row has been dragged to a specific place either within or outside of the grid control.

See Also