| 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()
Public Function ShowDialog As TaskDialogButton
public:
TaskDialogButton^ ShowDialog()
member ShowDialog : unit -> TaskDialogButton
Return Value
Type:
TaskDialogButtonThe button that the user clicked. Can be
if the user cancelled the dialog using the
title bar close button.
Exceptions Exception | Condition |
---|
InvalidOperationException |
One of the properties or a combination of properties is not valid.
-or-
The dialog is already running.
|
NotSupportedException | Task 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