Click or drag to resize

IMessageDialogShowYesNoCancelAsync Method (String, String, Action, Action)

Begins an asynchronous operation showing a dialog with a Yes, No and Cancel button.

Namespace:  Cauldron.XAML
Assembly:  Cauldron.Win32.WPF (in Cauldron.Win32.WPF.dll) Version: 3.2.0.1 (3.2.0.1)
Syntax
C#
Task ShowYesNoCancelAsync(
	string title,
	string content,
	Action commandYes,
	Action commandNo
)

Parameters

title
Type: SystemString
The title to display on the dialog, if any.
content
Type: SystemString
The message to be displayed to the user.
commandYes
Type: SystemAction
The action associated with the Yes Command
commandNo
Type: SystemAction
The action associated with the No Command

Return Value

Type: Task
An object that represents the asynchronous operation.
See Also