ComponentOne WebMenus and WebBars for ASP.NET: C1WebToolbar Overview > C1WebToolBar's Items and Groups > ToolBar Item Types

ToolBar Item Types

Link Items

Link items are derived from the base class C1WebLinkItem. The following table lists the five styles and states for the link items:

 

Style

State

Property Settings

ItemStyle

Normal

Enabled = True, Selected = False, mouse doesn't hover over item.

MouseOverItemStyle

Mouse Over

Enabled = True, Selected = False, mouse hovers over item.

SelectedItemStyle

SelectedState

Enabled = True, Selected = True, mouse doesn't hover over item.

MouseOverSelectedItemStyle

Mouse Over Selected

Enabled = True, Selected = True, mouse hovers over item.

DisabledItemStyle

Disabled

Enabled = False

 

C1WebToolbar's items include special drop-down properties that are only present in C1WebToolBar. They are not available in the other flat type controls. C1WebToolBar's special drop-down properties include the following:

      HasDropDownButton – Specifies whether or not the toolbar item has a drop down button in the left side.

      DropDownContextMenuId – Specifies the ID for the drop-down button.

For more information on how to apply these special drop-down properties, please see Creating a Drop-Down Menu.

Custom Content Items

Custom content items are derived from the base class C1WebContentItem. Each item includes content property. The content property includes built-in editable templates and controls such as a calendar control.

Separators

C1WebToolBar's items can be displayed as separators. A separator is a delimiter. The separator is derived from the base class C1WebSeparator. The user has the option to customize the separators color, size, style, and padding. For more information about separators, please see Defining the Separator Style and its Types.


Send comments about this topic to ComponentOne.
Copyright © 1987-2009 ComponentOne LLC. All rights reserved.