Click or drag to resize

IMessageDialogShowYesNoAsync Method (String, String, Action)

Begins an asynchronous operation showing a dialog with a Yes and No 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 ShowYesNoAsync(
	string title,
	string content,
	Action commandYes
)

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

Return Value

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