DialogServiceExtensions.ShowDialog(IDialogService, IEnumerable<UICommand>, String, Object) Method
In This Article
Shows a dialog window with the specified parameters.
Namespace: DevExpress.Mvvm
Assembly: DevExpress.Mvvm.v24.2.dll
NuGet Packages: DevExpress.Mvvm, DevExpress.Win.Navigation
#Declaration
public static UICommand ShowDialog(
this IDialogService service,
IEnumerable<UICommand> dialogCommands,
string title,
object viewModel
)
#Parameters
Name | Type | Description |
---|---|---|
service | IDialog |
The dialog service. |
dialog |
IEnumerable<UICommand> | A set of |
title | String | The dialog window’s header text. |
view |
Object | The dialog’s View Model. |
#Returns
Type | Description |
---|---|
UICommand | The clicked button’s |
#Remarks
Call this method if you use the ViewTemplate or ViewTemplateSelector property to define the dialog View. The method’s viewModel
parameter allows you to assign a View Model to this View.
See Also