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

DialogEditFormBehavior.CreateEditItemViewModel Event

Occurs before a user invokes the dialog edit form. This event 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

public event EventHandler<CreateEditItemViewModelArgs> CreateEditItemViewModel

Event Data

The CreateEditItemViewModel event's data class is DevExpress.Mvvm.Xpf.CreateEditItemViewModelArgs.

Remarks

Before a user invokes the dialog edit form, the behavior raises the CreateEditItemViewModel event and executes the CreateEditItemViewModelCommand.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the CreateEditItemViewModel event.

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