Gets or sets the dialog result for the window.
Namespace:
C1.WPFAssembly: C1.WPF (in C1.WPF.dll)
XMLNS for XAML: Not mapped to an xmlns.
Syntax
C# |
---|
public MessageBoxResult DialogResult { get; set; } |
Visual Basic |
---|
Public Property DialogResult As MessageBoxResult Get Set |
XAML Attribute Usage |
---|
<object DialogResult="MessageBoxResult" .../> |
Remarks
Setting this property to a value other than "None" automatically closes the window. Clicking the "Close" button on the window caption bar sets DialogResult to Cancel and then closes the window.
This is a dependency property.