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

VGridControlBase.CancelUpdateFocusedRecord() Method

In This Article

Discards any changes made to focused record cells.

Namespace: DevExpress.XtraVerticalGrid

Assembly: DevExpress.XtraVerticalGrid.v24.2.dll

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

#Declaration

public virtual void CancelUpdateFocusedRecord()

#Remarks

Call the CancelUpdateFocusedRecord method to discard changes made to the contents of a cell within a focused record. Note that this method is in effect until the record loses focus and if no cell is being edited at the moment. To discard any changes made to the currently edited cell and close the editor, call the VGridControlBase.HideEditor method.

The VGridControlBase.UpdateFocusedRecord method saves changes made to the focused record. After this method has been called, the CancelUpdateFocusedRecord method does nothing.

See Also