Skip to main content

DataViewBase.ValidateEditor() Method

Validates the active editor.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v23.2.Core.dll

NuGet Package: DevExpress.Wpf.Grid.Core


public void ValidateEditor()


When an end-user modifies the focused cell’s value and tries to save the changes (by pressing the ENTER key or moving focus to another cell), the grid automatically validates a new value. If a View is in edit mode (DataViewBase.IsEditing), the ValidateEditor method allows you to manually force the active editor’s validation. For detailed information on validating cell editors, see Cell Validation.

See Also