Click or drag to resize
KaxToolBarItem Class
Represents a single item in the KaxToolBar class.
Inheritance Hierarchy
SystemObject
  System.Web.UIControl
    System.Web.UI.WebControlsWebControl
      Kettic.AspNet.ControlsControlItem
        Kettic.AspNet.ControlsKaxToolBarItem
          Kettic.AspNet.ControlsKaxToolBarButton
          Kettic.AspNet.ControlsKaxToolBarDropDown
          Kettic.AspNet.ControlsKaxToolBarSplitButton

Namespace: Kettic.AspNet.Controls
Assembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntax
public abstract class KaxToolBarItem : ControlItem

The KaxToolBarItem type exposes the following members.

Properties
  NameDescription
Public propertyCode exampleClickedCssClass
Gets or sets the Cascading Style Sheet (CSS) class applied when the toolbar item is clicked.
Public propertyCode exampleClickedImageUrl
Gets or sets the path to an image to display for the item when the user clicks it.
Public propertyDisabledCssClass
Gets or sets the Cascading Style Sheet (CSS) class applied when the toolbar item is disabled.
Public propertyCode exampleDisabledImageUrl
Gets or sets the path to an image to display when the item is disabled.
Public propertyCode exampleFocusedCssClass
Gets or sets the Cascading Style Sheet (CSS) class applied when the toolBar item is focused after tabbing to it, or by using its AccessKey
Public propertyCode exampleFocusedImageUrl
Gets or sets the path to an image to display when the user focuses the item either by tabbing to it or by using the AccessKey
Public propertyHoveredCssClass
Gets or sets the Cascading Style Sheet (CSS) class applied when the user moves the mouse over the toolbar item.
Public propertyCode exampleHoveredImageUrl
Gets or sets the path to an image to display when the user moves the mouse over the item.
Public propertyCode exampleImagePosition
Gets or sets the position of the item image according to the item text.
Public propertyCode exampleImageUrl
Gets or sets the path to an image to display for the item.
Public propertyOuterCssClass
Gets or sets the Cascading Style Sheet (CSS) class applied on the outmost element (<LI>).
Public propertyText
Gets or sets the text displayed for the current item.
(Overrides ControlItemText.)
Public propertyToolBar
Gets the KaxToolBar instance which contains the item.
Top
Remarks

The KaxToolBar control is made up of a list of toolbar items represented by KaxToolBarItem objects (KaxToolBarButton, KaxToolBarDropDown, KaxToolBarSplitButton). All toolbar items are stored in the Items collection of the toolbar. You can access the toolbar to which the item belongs by using the ToolBar property.

To create the toolbar items for a KaxToolBar control, use one of the following methods:

Each toolbar item has a Text property. The Button items (KaxToolBarButton and KaxToolBarSplitButton) have a Value property. The value of the Text property is displayed in the KaxToolBar control, while the Value property is used to store any additional data about the toolbar item.

See Also