Skip to main content

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

Namespace: DevExpress.Mvvm.ViewModel

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

NuGet Package: DevExpress.Scaffolding.Core

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