Click or drag to resize

TaskDialogShowDialog Method

Shows the task dialog as a modal dialog.

Namespace:  Ookii.Dialogs.Wpf
Assembly:  Ookii.Dialogs.Wpf (in Ookii.Dialogs.Wpf.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public TaskDialogButton ShowDialog()

Return Value

Type: TaskDialogButton
The button that the user clicked. Can be if the user cancelled the dialog using the title bar close button.
Exceptions
ExceptionCondition
InvalidOperationException

One of the properties or a combination of properties is not valid.

-or-

The dialog is already running.

NotSupportedExceptionTask dialogs are not supported on the current operating system.
Remarks
The dialog will use the active window as its owner. If the current process has no active window, the dialog will be displayed as a modeless dialog (identical to calling Show).
See Also