Click or drag to resize

TaskDialogShow Method

Shows the task dialog as a modeless dialog.

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

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
Note Note
Although the dialog is modeless, this method does not return until the task dialog is closed.
See Also