Opens a window and returns only when the newly opened window is closed.

Namespace: Elysium.Controls
Assembly: Elysium (in Elysium.dll) Version: 2.0.1042.4 (2.0.1042.4)

Syntax

C#
public Nullable<bool> ShowDialog()
Visual Basic
Public Function ShowDialog As Nullable(Of Boolean)

Return Value

Type: Nullable<(Of <(<'Boolean>)>)>
A Nullable<(Of <(<'T>)>)> value of type Boolean that specifies whether the activity was accepted (true) or canceled (false). The return value is the value of the DialogResult property before a window closes.

Exceptions

ExceptionCondition
System..::..InvalidOperationExceptionShowDialog()()()() is called on a Window that is visible-or-ShowDialog()()()() is called on a visible Window that was opened by calling ShowDialog()()()().

See Also