[This is preliminary documentation and is subject to change.]
Gets value indicating if this button should be considered cancel button
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 IsCancel { get; } |
| Visual Basic |
|---|
<BrowsableAttribute(False)> _ Public ReadOnly Property IsCancel As Boolean Get |
| Visual C++ |
|---|
[BrowsableAttribute(false)] public: property bool IsCancel { bool get (); } |
| F# |
|---|
[<BrowsableAttribute(false)>] member IsCancel : bool |
| JScript |
|---|
function get IsCancel () : boolean |
Return Value
True if this button should be treated as cancel button; false it should not.
Remarks
This poperty returns correct value only when button is stored in ListWithEvents<(Of <(<'T>)>)> with Owner set to MessageBox. Then its cange 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 CloseResponse.
See Also
Version History
1.5.2
- Property added