The C1WebToolBarItem Collection Editor allows you to view and modify your items. You can select from three different types of items in the Add button drop-down list: C1WebTopicBarItem, C1WebContentItem, and C1WebSeparator.
You can access the C1WebToolBarItem Collection Editor by clicking on the ellipsis button in the Collections property of the C1WebToolBarGroup Collection Editor. The editor below includes the collection of properties for C1WebTopicBar's items.
C1WebToolBarItem Properties
The following properties for the Link item type are available for the user in the C1WebToolBarItem Collection Editor:
· C1WebToolBarItem Appearance Properties
The appearance properties change the appearance of the toolbar item. The appearance properties and their functions are listed below:
Property |
Description |
IconBarWidth |
Sets or returns the width of the icon bar drawn on the side of the groups. |
ItemPadding |
Space between item's border and content. |
NavigateUrl |
Gets or sets the URL link once the hyperlink is clicked in the toolbar item. |
Text |
Gets or sets the text displayed for the item in the control. |
ToolTip |
Gets or sets the ToolTip text displayed when the mouse pointer rests over the item. |
· C1WebToolBarItem Behavior Properties
The behavior properties change the item's behavior. The behavior properties and their functions are listed below:
Property |
Description |
CausesValidation |
Determines whether validation is performed when the item is clicked. |
ClientScripts |
Collection of client-side scripts associated with the item. |
CommandArgument |
Gets or sets an optional parameter passed to the ItemClick and ItemSelected events of the C1WebToolBar component along with the associated CommandName. |
CommandName |
Gets or sets the command name associated with the C1WebToolBarItem passed to the ItemClick and ItemSelected events of the C1WebToolBar component. |
DropDownContextMenuId |
Specifies the ID of the linked C1WebMenu in Custom context mode for the drop-down button. |
Enabled |
Gets or sets a value indicating whether the item is enabled. |
HasDropDownButton |
Specifies whether or not the toolbar item has a drop-down button in the left side. |
Selected |
Gets or sets a value indicating whether the current item is selected. |
Target |
Gets or sets the target window or frame to display the Web page content linked to when the C1WebLinkItem is clicked. |
Visible |
Gets or sets a value indicating whether or not the item is visible. |
WrapText |
Gets or sets a value that indicates whether the item's text is wrapped. |
KeyboardShortcut |
String representing keyboard shortcut to perform the action of this item. |
· C1WebToolBarItem Style Properties
The style properties change the item's style. The style properties and their functions are listed below:
Property |
Description |
DisabledItemStyle |
Style for the item in disabled state. |
ItemStyle |
Style for the item. |
MouseOverItemStyle |
Style for the item when the mouse hovers over it. |
MouseOverSelectedItemStyle |
Style for the item when the mouse hovers over the selected item. |
SelectedItemStyle |
Default style for the child items in the selected state. |
When a Content item is selected in the tree view of the C1WebToolBarItem Collection Editor, it contains the following types of properties:
· C1WebContentItem Appearance Properties
The properties specify C1WebTreeView content items' appearance. The link items properties and their description are listed below:
Property |
Description |
ItemPadding |
Space between the item's border and content. |
· C1WebContentItem Style Properties
The properties specify the C1WebTreeView content items' Style properties. The Content Items' properties and their description are listed below:
Property |
Description |
BackColor |
Background color of the controls applied with this style. |
BackImageUrl |
The URL of the background image. |
BorderColor |
Border color of the controls applied with this style. |
BorderStyle |
Style of the border of controls applied with this style. |
BorderWidth |
Thickness of the border around the controls applied with this style. |
CssClass |
CSS class name applied to the user of this style. |
Font |
The font used for text in the controls applied with this style. |
ForeColor |
The foreground color of the controls applied with this style. |
Height |
The height of the controls applied with this style. |
ImageTextSpacing |
Specifies the spacing between the item's image and text. |
ImageUrl |
The URL of the image to use in an icon place. |
ItemImagePosition |
Specifies the position of an image relative to the item's text. |
LeftBorderImageUrl |
The URL of the left border image. |
RightBorderImageUrl |
The URL of the right border image. |
Width |
The width of the controls applied with this style. |
C1WebSeparator Properties
The following properties for the C1WebSeparator item type are available for the user in the C1WebToolBarItem Collection Editor:
· C1WebSeparator Style Properties
The style property changes the item's style. The style property and its function are listed below:
Property |
Description |
BackColor |
Background color of the controls applied with this style. |
BackImageSize |
Height for horizontal or width for vertical separators. |
BackImageUrl |
Image url for the separator image. |
BorderColor |
Border color of the controls applied with this style. |
BorderStyle |
Style of the border of controls applied with this style. |
BorderWidth |
Thickness of the border around the controls applied with this style. |
CssClass |
CSS class name applied to the user of this style. |
PaddingBottom |
Bottom padding for the separator image. |
PaddingLeft |
Left padding for the separator image. |
PaddingRight |
Right padding for the separator image. |
PaddingTop |
Top padding for the separator image. |
Send comments about this topic to ComponentOne. Copyright © ComponentOne LLC. All rights reserved. |