[This is preliminary documentation and is subject to change.]
Gets or sets value returned by Show(Window, String) function when user closes the message box by closing window or by pressin escape
Namespace: Tools.WindowsT.IndependentTAssembly: Tools.Windows (in Tools.Windows.dll) Version: 1.5.3.38916 (1.5.3.38916)
Syntax
| C# |
|---|
[DefaultValueAttribute(typeof(DialogResult), "None")] [KnownCategoryAttribute(KnownCategoryAttribute..::..KnownCategories.Behavior)] public DialogResult CloseResponse { get; set; } |
| Visual Basic |
|---|
<DefaultValueAttribute(GetType(DialogResult), "None")> _ <KnownCategoryAttribute(KnownCategoryAttribute..::..KnownCategories.Behavior)> _ Public Property CloseResponse As DialogResult Get Set |
| Visual C++ |
|---|
[DefaultValueAttribute(typeof(DialogResult), L"None")] [KnownCategoryAttribute(KnownCategoryAttribute..::..KnownCategories::Behavior)] public: property DialogResult CloseResponse { DialogResult get (); void set (DialogResult value); } |
| F# |
|---|
[<DefaultValueAttribute(typeof(DialogResult), "None")>] [<KnownCategoryAttribute(KnownCategoryAttribute..::..KnownCategories.Behavior)>] member CloseResponse : DialogResult with get, set |
| JScript |
|---|
function get CloseResponse () : DialogResult function set CloseResponse (value : DialogResult) |
Remarks
Values that are not members of the DialogResult enumeration can be safely used.
If AllowClose is false this property ahs effect only when mapped to one of buttons (has same value as Result of one buttons) and user presses escape.