Click or drag to resize

MessageDialogExShowOKCancelAsync Method (String, String, Action, 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#
public Task ShowOKCancelAsync(
	string title,
	string content,
	Action commandOK,
	Action commandCancel
)

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
commandCancel
Type: SystemAction
The action associated with the cancel Command

Return Value

Type: Task
An object that represents the asynchronous operation.

Implements

IMessageDialogShowOKCancelAsync(String, String, Action, Action)
See Also