Click or drag to resize

IToolbarAddItem Method (String, WebControl, String, String, ToolbarItemAttrs, String)

Add a toolbar item to the toolbar.

Namespace:  NetQuarry.WebControls
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
void AddItem(
	string id,
	WebControl button,
	string caption,
	string largeImage,
	ToolbarItemAttrs attributes,
	string group
)

Parameters

id
Type: SystemString
The ID of the item.
button
Type: System.Web.UI.WebControlsWebControl
The button to add.
caption
Type: SystemString
The localized caption for the button.
largeImage
Type: SystemString
The item's 'large' image (typically 32x32). Note that the 'small' (typically 16x16) image is expected to be specified on the button provided.
attributes
Type: NetQuarry.WebControlsToolbarItemAttrs
Attributes describing behaviour of the button.
group
Type: SystemString
The group to which this item belongs. Currently grouping is used to control item visibility. No item in a group will be hidden unless all items in the group can be hidden.
See Also