Click or drag to resize

ToolbarAddItem Method (String, WebControl, String, String, ToolbarItemAttrs)

Add a toolbar item to the toolbar.

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

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.

Implements

IToolbarAddItem(String, WebControl, String, String, ToolbarItemAttrs)
See Also