Back to Devexpress

DataViewBase.ValidateEditor() Method

wpf-devexpress-dot-xpf-dot-grid-dot-dataviewbase-cce420da.md

latest1.4 KB
Original Source

DataViewBase.ValidateEditor() Method

Validates the active editor.

Namespace : DevExpress.Xpf.Grid

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

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
public void ValidateEditor()
vb
Public Sub ValidateEditor

Remarks

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

Validate

DataViewBase Class

DataViewBase Members

DevExpress.Xpf.Grid Namespace