Skip to main content

DocumentManagerServiceExtensions.CreateDocument(IDocumentManagerService, String, Object, Object, Boolean) Method

OBSOLETE

Use other extension methods.

Static extension method that creates and returns a IDocument descendant with the specified parameters.

Namespace: DevExpress.Mvvm

Assembly: DevExpress.Mvvm.v24.1.dll

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

Declaration

[Obsolete("Use other extension methods.")]
[Browsable(false)]
public static IDocument CreateDocument(
    this IDocumentManagerService service,
    string documentType,
    object parameter,
    object parentViewModel,
    bool useParameterAsViewModel
)

Parameters

Name Type
service IDocumentManagerService
documentType String
parameter Object
parentViewModel Object
useParameterAsViewModel Boolean

Returns

Type
IDocument
See Also