IDialogService.ShowDialog(IEnumerable<UICommand>, String, String, Object, Object, Object) Method
Shows a dialog window with specified parameters.
Namespace: DevExpress.Mvvm
Assembly: DevExpress.Mvvm.v20.2.dll
Declaration
[Browsable(false)]
UICommand ShowDialog(
IEnumerable<UICommand> dialogCommands,
string title,
string documentType,
object viewModel,
object parameter,
object parentViewModel
)
Parameters
Name | Type | Description |
---|---|---|
dialogCommands | IEnumerable<UICommand> | A list of UICommand objects that are used to generate dialog buttons. |
title | String | A dialog window caption. |
documentType | String | A String value that specifies the name of a document type to be shown in the dialog window. |
viewModel | 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. |
parentViewModel | 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. |
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ShowDialog(IEnumerable<UICommand>, String, String, Object, Object, Object) method.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.