Skip to main content
A newer version of this page is available. .
All docs
V21.2

DialogEditFormBehavior.ValidateRowCommand Property

Gets or sets a command that occurs after a user saves changes made in the dialog edit form. This command allows you to validate values, check database constraints, and save changes to the database.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v21.2.Extensions.dll

NuGet Package: DevExpress.Wpf.Grid.Core

Declaration

public ICommand<EditFormRowValidationArgs> ValidateRowCommand { get; set; }

Property Value

Type Description
DevExpress.Mvvm.ICommand<DevExpress.Mvvm.Xpf.EditFormRowValidationArgs>

A command that allows you to validate values, check database constraints, and save changes to the database.

Remarks

After a user saves changes made in the dialog edit form, the behavior raises the ValidateRow event and executes the ValidateRowCommand.

The following code snippets (auto-collected from DevExpress Examples) contain references to the ValidateRowCommand property.

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