Back to Devexpress

CreateEditItemViewModelArgs.GetViewModelAsync Property

corelibraries-devexpress-dot-mvvm-dot-xpf-dot-createedititemviewmodelargs.md

latest1.5 KB
Original Source

CreateEditItemViewModelArgs.GetViewModelAsync Property

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.

Namespace : DevExpress.Mvvm.Xpf

Assembly : DevExpress.Mvvm.v25.2.dll

NuGet Packages : DevExpress.Mvvm, DevExpress.Win.Navigation

Declaration

csharp
public Task<IEditItemViewModel> GetViewModelAsync { get; set; }
vb
Public Property GetViewModelAsync As Task(Of IEditItemViewModel)

Property Value

TypeDescription
Task<DevExpress.Mvvm.Xpf.IEditItemViewModel>

The task that returns the edit operation’s view model.

|

See Also

CreateEditItemViewModelArgs Class

CreateEditItemViewModelArgs Members

DevExpress.Mvvm.Xpf Namespace