Skip to main content
All docs
V24.1

CreateEditItemViewModelArgs Members

Contains data for the CreateEditItemViewModel event and the command bound to the CreateEditItemViewModelCommand property.

Constructors

Name Description
CreateEditItemViewModelArgs(Object) Initializes a new instance of the CreateEditItemViewModelArgs class with specified settings.

Properties

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.

Methods

Name Description
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also