[This is preliminary documentation and is subject to change.]
Gets value indication if this button is default of message box
Namespace: Tools.WindowsT.IndependentTAssembly: Tools.Windows (in Tools.Windows.dll) Version: 1.5.3.38916 (1.5.3.38916)
Syntax
| C# |
|---|
[BrowsableAttribute(false)] public bool IsDefault { get; } |
| Visual Basic |
|---|
<BrowsableAttribute(False)> _ Public ReadOnly Property IsDefault As Boolean Get |
| Visual C++ |
|---|
[BrowsableAttribute(false)] public: property bool IsDefault { bool get (); } |
| F# |
|---|
[<BrowsableAttribute(false)>] member IsDefault : bool |
| JScript |
|---|
function get IsDefault () : boolean |
Return Value
True if this button is default; false if it is not
Remarks
This poperty returns correct value only when button is stored in ListWithEvents<(Of <(<'T>)>)> with Owner set to MessageBox. Then its change is reported via INotifyPropertyChanged.
Individual MessageBox implementation may, or may not utilize this property. It can ignore defualt button at all or determine it from DefaultButton.
See Also
Version History
1.5.2
- Property added