Skip to main content

DocumentManagerServiceExtensions.ShowNewEntityDocument<TEntity>(IDocumentManagerService, Object, Action<TEntity>) Method

Namespace: DevExpress.Mvvm.ViewModel

Assembly: DevExpress.Mvvm.v24.2.ViewModel.dll

Declaration

public static IDocument ShowNewEntityDocument<TEntity>(
    this IDocumentManagerService documentManagerService,
    object parentViewModel,
    Action<TEntity> newEntityInitializer = null
)

Parameters

Name Type
documentManagerService IDocumentManagerService
parentViewModel Object

Optional Parameters

Name Type Default
newEntityInitializer Action<TEntity> null

Type Parameters

Name
TEntity

Returns

Type
IDocument
See Also