IDocumentManagerService.CreateDocument(String, Object, Object, Object) Method
In This Article
Creates a document.
Namespace: DevExpress.Mvvm
Assembly: DevExpress.Mvvm.v24.2.dll
NuGet Packages: DevExpress.Mvvm, DevExpress.Win.Navigation
#Declaration
[Browsable(false)]
IDocument CreateDocument(
string documentType,
object viewModel,
object parameter,
object parentViewModel
)
#Parameters
Name | Type | Description |
---|---|---|
document |
String | A String value that specifies the type of the view to be created by the IDocument |
view |
Object | An object that is assigned to the Data |
parameter | Object | A parameter to be passed to the view model. |
parent |
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