[This is preliminary documentation and is subject to change.]
Called by owner window when appropriate button is clicked. Raises the ClickPreview event
Namespace: Tools.WindowsT.IndependentTAssembly: Tools.Windows (in Tools.Windows.dll) Version: 1.5.3.38916 (1.5.3.38916)
Syntax
| C# |
|---|
[EditorBrowsableAttribute(EditorBrowsableState.Advanced)] protected internal bool OnClick() |
| Visual Basic |
|---|
<EditorBrowsableAttribute(EditorBrowsableState.Advanced)> _ Protected Friend Function OnClick As Boolean |
| Visual C++ |
|---|
[EditorBrowsableAttribute(EditorBrowsableState::Advanced)] protected public: bool OnClick() |
| F# |
|---|
[<EditorBrowsableAttribute(EditorBrowsableState.Advanced)>] member OnClick : unit -> bool |
| JScript |
|---|
function OnClick() : boolean |
Return Value
True if action associated with button can be performed. False when event was canceled
Remarks
This function should be called only by class derived from MessageBox which owns the button.