IDocumentManagerService.CreateDocument(String, Object, Object, Object) Method
Creates a document.
Namespace: DevExpress.Mvvm
Assembly: DevExpress.Mvvm.v24.2.dll
Declaration
[Browsable(false)]
IDocument CreateDocument(
string documentType,
object viewModel,
object parameter,
object parentViewModel
)
Parameters
Name | Type | Description |
---|---|---|
documentType | String | A String value that specifies the type of the view to be created by the IDocumentManagerService. |
viewModel | Object | An object that is assigned to the DataContext property of the created view. |
parameter | Object | A parameter to be passed to the view model. |
parentViewModel | Object | An object that is passed to the view model of the created view. |
Returns
Type | Description |
---|---|
IDocument | An object implementing the IDocument interface that is the created document. |
Remarks
To learn more, see View creation mechanisms.
See Also