| TaskDialogShowDialog Method (Window) |
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(
Window owner
)
Public Function ShowDialog (
owner As Window
) As TaskDialogButton
public:
TaskDialogButton^ ShowDialog(
Window^ owner
)
member ShowDialog :
owner : Window -> TaskDialogButton
Parameters
- owner
- Type: System.WindowsWindow
The Window that is the owner of this task dialog.
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. |
See Also