[This is preliminary documentation and is subject to change.]
Gets or sets result produced by this button
Namespace: Tools.WindowsT.IndependentTAssembly: Tools.Windows (in Tools.Windows.dll) Version: 1.5.3.38916 (1.5.3.38916)
Syntax
| C# |
|---|
[KnownCategoryAttribute(KnownCategoryAttribute..::..KnownCategories.Behavior)] [DefaultValueAttribute(typeof(DialogResult), "None")] public DialogResult Result { get; set; } |
| Visual Basic |
|---|
<KnownCategoryAttribute(KnownCategoryAttribute..::..KnownCategories.Behavior)> _ <DefaultValueAttribute(GetType(DialogResult), "None")> _ Public Property Result As DialogResult Get Set |
| Visual C++ |
|---|
[KnownCategoryAttribute(KnownCategoryAttribute..::..KnownCategories::Behavior)] [DefaultValueAttribute(typeof(DialogResult), L"None")] public: property DialogResult Result { DialogResult get (); void set (DialogResult value); } |
| F# |
|---|
[<KnownCategoryAttribute(KnownCategoryAttribute..::..KnownCategories.Behavior)>] [<DefaultValueAttribute(typeof(DialogResult), "None")>] member Result : DialogResult with get, set |
| JScript |
|---|
function get Result () : DialogResult function set Result (value : DialogResult) |
Remarks
In case you need to define your own buttons you can use this property and set it to value thet is not member of the DialogResult enumeration.
Special result value HelpDialogResult defines help button. The MessageBox class does not pefrom any help-providing actions for that button, only, by default, thius button does not cause the messagebox to be closed.