ToolbarAddItem Method (String, WebControl, String, String, ToolbarItemAttrs, String) |
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,
string group
)
Public Sub AddItem (
id As String,
button As WebControl,
caption As String,
largeImage As String,
attributes As ToolbarItemAttrs,
group As String
)
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.
Implements
IToolbarAddItem(String, WebControl, String, String, ToolbarItemAttrs, String)See Also