Xceed Chart for WinForms v4.4 Documentation
OnToolbarButtonClicked Method


Xceed.Chart.v4.4 Assembly > Xceed.Chart Namespace > ChartToolbarControl Class : OnToolbarButtonClicked Method
Handles the ButtonClicked event of the toolbar.
Syntax
'Declaration
 
Public Overridable Function OnToolbarButtonClicked( _

   ByVal button As ToolBarButton, _

   ByVal e As EventArgs _

) As Boolean
'Usage
 
Dim instance As ChartToolbarControl

Dim button As ToolBarButton

Dim e As EventArgs

Dim value As Boolean

 

value = instance.OnToolbarButtonClicked(button, e)
public virtual bool OnToolbarButtonClicked( 

   ToolBarButton button,

   EventArgs e

)

Parameters

button
e

Return Value

true if the event is handled, false if the button was not from the predefined set and a custom handling is required
Remarks
Override this method if you want add event handling of any custom buttons you have added to an override of this control
Requirements

Target Platforms: 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

Reference

ChartToolbarControl Class
ChartToolbarControl Members