Skip to main content
All docs
V24.2

DialogEditFormBehavior.ValidateRowDeletionCommand Property

Gets or sets a command that validates data, checks database constrains, and deletes rows. The behavior executes this command when user deletes selected rows.

Namespace: DevExpress.Xpf.Grid

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

NuGet Package: DevExpress.Wpf.Grid.Core

Declaration

public ICommand<EditFormValidateRowDeletionArgs> ValidateRowDeletionCommand { get; set; }

Property Value

Type Description
ICommand<EditFormValidateRowDeletionArgs>

A command that validates data, checks database constrains, and deletes rows.

Remarks

After a user removes selected rows from the control, the behavior raises the ValidateRowDeletion event and executes the ValidateRowDeletionCommand.

Refer to the following help topic for more information: DialogEditFormBehavior.

The following code snippets (auto-collected from DevExpress Examples) contain references to the ValidateRowDeletionCommand 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