Click or drag to resize

IMessageDialogShowOKCancelAsync Method (String, String, Action)

Begins an asynchronous operation showing a dialog with an OK 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 ShowOKCancelAsync(
	string title,
	string content,
	Action commandOK
)

Parameters

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

Return Value

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