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

DataViewBase.ValidateEditor() Method

In This Article

Validates the active editor.

Namespace: DevExpress.Xpf.Grid

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

NuGet Package: DevExpress.Wpf.Grid.Core

#Declaration

public void 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