Skip to main content
All docs
V24.1

CreateEditItemViewModelArgs Properties

Contains data for the CreateEditItemViewModel event and the command bound to the CreateEditItemViewModelCommand property.
Name Description
GetViewModelAsync Gets or sets the task that returns the edit operation’s view model. The view model includes an item that you want to edit or add to the GridControl, the data context that describes the edit operation, and the dialog edit form‘s title.
IsNewItem Gets whether a user invokes the dialog edit form to add a new item to the GridControl.
Key Gets the value of the field assigned to the DialogEditFormBehavior.KeyProperty property.
ViewModel Gets or sets the view model used in the edit operation. The view model includes an item that you want to edit or add to the GridControl, the data context that describes the edit operation, and the dialog edit form‘s title.
See Also