Version

OnButtonClicked Method

Raise the ButtonClicked event to all listeners.
Syntax
'Declaration
 
Protected Overridable Sub OnButtonClicked( _
   ByVal button As TBarButton, _
   ByVal bDepressed As Boolean _
) 
protected virtual void OnButtonClicked( 
   TBarButton button,
   bool bDepressed
)

Parameters

button
Reference to the button clicked.
bDepressed
Whether the button is in a down state, if it is a toggle button.
Remarks

If the button of interest is a member of a TBButtonGroup, this event will not fire. Please use the GroupButtonClicked event instead.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also