IDialogService.ShowDialog(IEnumerable<UICommand>, String, String, Object, Object, Object) Method
In This Article
Shows a dialog window with specified parameters.
Namespace: DevExpress.Mvvm
Assembly: DevExpress.Mvvm.v24.2.dll
NuGet Packages: DevExpress.Mvvm, DevExpress.Win.Navigation
#Declaration
[Browsable(false)]
UICommand ShowDialog(
IEnumerable<UICommand> dialogCommands,
string title,
string documentType,
object viewModel,
object parameter,
object parentViewModel
)
#Parameters
Name | Type | Description |
---|---|---|
dialog |
IEnumerable<UICommand> | A list of UICommand objects that are used to generate dialog buttons. |
title | String | A dialog window caption. |
document |
String | A String value that specifies the name of a document type to be shown in the dialog window. |
view |
Object | An object that is the view model to be passed to the data context of the dialog view. |
parameter | Object | A parameter for passing data to the passed view model. |
parent |
Object | The parent View model for building a parent-child view model relationship. |
#Returns
Type | Description |
---|---|
UICommand | An object of the UICommand type that is the command corresponding to the button the end-user clicked. |
See Also