IDialogService

Here is an example that demonstrates the use of a IDialogService component.

Example
Show Confirmation Dialog Show Error Dialog Show Info Dialog Show Success Dialog Show Warning Dialog

IDialogService Class

Methods

Name
Parameters
Type
Description
ShowConfirmationAsyncstring message
string primaryText
string secondaryText
string title
Task<DialogResult>
ShowErrorAsyncstring message
string title
string primaryText
Task<DialogResult>
ShowInfoAsyncstring message
string title
string primaryText
Task<DialogResult>
ShowSuccessAsyncstring message
string title
string primaryText
Task<DialogResult>
ShowWarningAsyncstring message
string title
string primaryText
Task<DialogResult>

DialogResult Class

Properties

Name
Type
Default
Description
Cancelledbool
False

Methods

Name
Parameters
Type
Description
CancelObject data
DialogResult
Ok<T>T result
DialogResult