Gets or sets the dialog result for the window.

Namespace:  C1.Silverlight
Assembly:  C1.Silverlight (in C1.Silverlight.dll)

Syntax

C#
public MessageBoxResult DialogResult { get; set; }
Visual Basic
Public Property DialogResult As MessageBoxResult
	Get
	Set

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.

See Also