[This is preliminary documentation and is subject to change.]

Gets result of dialog (Result of button user has clicked on)

Namespace: Tools.WindowsT.IndependentT
Assembly: Tools.Windows (in Tools.Windows.dll) Version: 1.5.3.38916 (1.5.3.38916)

Syntax

C#
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)]
[BrowsableAttribute(false)]
public DialogResult DialogResult { get; protected internal set; }
Visual Basic
<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)> _
<BrowsableAttribute(False)> _
Public Property DialogResult As DialogResult
	Get
	Protected Friend Set
Visual C++
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility::Hidden)]
[BrowsableAttribute(false)]
public:
property DialogResult DialogResult {
	DialogResult get ();
	protected public: void set (DialogResult value);
}
F#
[<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)>]
[<BrowsableAttribute(false)>]
member DialogResult : DialogResult with get, set
JScript
function get DialogResult () : DialogResult
 function set DialogResult (value : DialogResult)

Field Value

Should be set by derived class when dialog is closed

Return Value

Result of button user have clicked to or CloseResponse when message box was closed by pressing escape, closing the window or timer.

Remarks

Value of this property is valid only when State is Closed

See Also