Click or drag to resize

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
)

Parameters

owner
Type: System.WindowsWindow
The Window that is the owner of this task dialog.

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.
See Also