DialogServiceExtensions.ShowDialog(IDialogService, MessageButton, String, 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 MessageResult ShowDialog(
this IDialogService service,
MessageButton dialogButtons,
string title,
string documentType,
object viewModel
)
#Parameters
Name | Type | Description |
---|---|---|
service | IDialog |
The dialog service. |
dialog |
Message |
A set of buttons displayed in the dialog window. |
title | String | The dialog window’s header text. |
document |
String | The name of the class displayed in the dialog window. |
view |
Object | The dialog’s View Model. |
#Returns
Type | Description |
---|---|
Message |
The dialog’s result value. |
#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