wpf-devexpress-dot-xpf-dot-grid-dot-tableview-9ab81afd.md
Closes the active editor and discards all changes.
Namespace : DevExpress.Xpf.Grid
Assembly : DevExpress.Xpf.Grid.v25.2.dll
NuGet Package : DevExpress.Wpf.Grid.Core
public override void HideEditor()
Public Overrides Sub HideEditor
To close the active editor and save changes, use the CloseEditor() method.
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.
MessageBoxResult.No) {
AssociatedObject.HideEditor();
}
If Equals(e.Column.FieldName, NameOf(Item.Growth)) AndAlso MessageBox.Show("Do you wish to update the value?", "Confirmation", MessageBoxButton.YesNo) = MessageBoxResult.No Then
AssociatedObject.HideEditor()
End If
See Also