Click or drag to resize

IToolbarAddButton Method

Adds a button item to the toolbar.

Namespace:  NetQuarry.WebControls
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
IToolbarButton AddButton(
	string id,
	string imageUrl,
	string toolTip,
	string clickJS,
	string caption,
	string additionalImage = null,
	ToolbarItemAttrs attributes = ,
	string group = null
)

Parameters

id
Type: SystemString
The item ID.
imageUrl
Type: SystemString
The image URL.
toolTip
Type: SystemString
The tooltip.
clickJS
Type: SystemString
Javascript client-side clicks.
caption
Type: SystemString
The item caption.
additionalImage (Optional)
Type: SystemString
An optional larger icon.
attributes (Optional)
Type: NetQuarry.WebControlsToolbarItemAttrs
Attibutes describing the item.
group (Optional)
Type: SystemString
The group, if any.

Return Value

Type: IToolbarButton
The toolbar button for the item.
See Also