Click or drag to resize

ToolbarCreateAndAddItem Method

Creates a new toolbar item and adds it to the menu.

Namespace:  NetQuarry.WebControls
Assembly:  EAP.WebControls (in EAP.WebControls.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public IToolbarButton CreateAndAddItem(
	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 item.

Implements

IToolbarCreateAndAddItem(String, String, String, String, String, String, ToolbarItemAttrs, String)
See Also