Skip to main content
A newer version of this page is available. .

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.v19.1.dll

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