Skip to main content
A newer version of this page is available. .

VGridControlBase.HideEditor() Method

Hides the active editor and discards any changes made.

Namespace: DevExpress.XtraVerticalGrid

Assembly: DevExpress.XtraVerticalGrid.v18.2.dll

Declaration

public virtual void HideEditor()

Remarks

The HideEditor method destroys the edited cell’s editor and switches the vertical grid to browse mode. Changes made within the edited cell are discarded. The HideEditor method is automatically called when an end-user presses the ESC key after modifying the cell’s value. Note that calling this method raises the VGridControlBase.HiddenEditor event.

If no cell is being edited at the moment, calling the HideEditor method does nothing.

For more information, see Showing and Hiding Editors.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the HideEditor() method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also