DialogServiceExtensions.ShowDialog(IDialogService, IEnumerable<UICommand>, String, String, Object) Method
Shows a dialog window with the specified parameters.
Namespace: DevExpress.Mvvm
Assembly: DevExpress.Mvvm.v24.2.dll
Declaration
public static UICommand ShowDialog(
this IDialogService service,
IEnumerable<UICommand> dialogCommands,
string title,
string documentType,
object viewModel
)
Parameters
Name | Type | Description |
---|---|---|
service | IDialogService | The dialog service. |
dialogCommands | IEnumerable<UICommand> | A set of |
title | String | The dialog window’s header text. |
documentType | String | The name of the class displayed in the dialog window. |
viewModel | Object | The dialog’s View Model. |
Returns
Type | Description |
---|---|
UICommand | The clicked button’s |
Remarks
Call this method to create a dialog View based on the documentType
parameter. The method’s viewModel
parameter allows you to assign a View Model to this View.
See Also