DialogEditFormBehavior.CreateEditItemViewModelCommand Property
Gets or sets a command that occurs before a user invokes the dialog edit form. This command allows you to specify a View Model for the edit operation.
Namespace: DevExpress.Xpf.Grid
Assembly: DevExpress.Xpf.Grid.v21.2.Extensions.dll
NuGet Package: DevExpress.Wpf.Grid.Core
Declaration
Property Value
Type | Description |
---|---|
DevExpress.Mvvm.ICommand<DevExpress.Mvvm.Xpf.CreateEditItemViewModelArgs> | A command that allows you to specify a View Model for the edit operation. |
Remarks
Before a user invokes the dialog edit form, the behavior raises the CreateEditItemViewModel event and executes the CreateEditItemViewModelCommand.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the CreateEditItemViewModelCommand 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.