Click or drag to resize
KaxToolBarItemCollection Class
A collection of KaxToolBarItem objects in a KaxToolBar control.
Inheritance Hierarchy
SystemObject
  System.Web.UIStateManagedCollection
    Kettic.AspNet.ControlsControlItemCollection
      Kettic.AspNet.ControlsKaxToolBarItemCollection
        Kettic.AspNet.ControlsKaxToolBarButtonCollection

Namespace: Kettic.AspNet.Controls
Assembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntax
public class KaxToolBarItemCollection : ControlItemCollection

The KaxToolBarItemCollection type exposes the following members.

Constructors
  NameDescription
Public methodKaxToolBarItemCollection
Initializes a new instance of the KaxToolBarItemCollection class.
Top
Methods
  NameDescription
Public methodCode exampleAdd
Appends the specified KaxToolBarItem object to the end of the current KaxToolBarItemCollection.
Public methodCode exampleAddRange
Appends the specified array of KaxToolBarItem objects to the end of the current KaxToolBarItemCollection.
Public methodContains
Determines whether the specified KaxToolBarItem object is in the current KaxToolBarItemCollection.
Public methodCode exampleFindItem
Returns the first KaxToolBarItem that matches the conditions defined by the specified predicate. The predicate should returns a boolean value.
Public methodFindItemByAttribute
Searches the items in the collection for a KaxToolBarItem which contains the specified attribute and attribute value.
Public methodFindItemByText(String)
Searches the ToolBarItemCollection for the first KaxToolBarItem with a Text property equal to the specified value.
Public methodFindItemByText(String, Boolean)
Searches the ToolBarItemCollection for the first KaxToolBarItem with a Text property equal to the specified value.
Public methodFindItemByValue(String)
Searches the ToolBarItemCollection for the first button item (KaxToolBarButton or KaxToolBarSplitButton) with a Value property equal to the specified value.
Public methodFindItemByValue(String, Boolean)
Searches the ToolBarItemCollection for the first button item (KaxToolBarButton or KaxToolBarSplitButton) with a Value property equal to the specified value.
Public methodIndexOf
Determines the index of the specified KaxToolBarItem object in the collection.
Public methodInsert
Inserts the specified KaxToolBarItem object in the current KaxToolBarItemCollection at the specified index location.
Public methodRemove
Removes the specified KaxToolBarItem object from the current KaxToolBarItemCollection.
Public methodRemoveAt
Removes the KaxToolBarItem object at the specified index from the current KaxToolBarItemCollection.
Top
Properties
  NameDescription
Public propertyItem
Gets the KaxToolBarItem object at the specified index in the current KaxToolBarItemCollection.
Top
Remarks

The KaxToolBarItemCollection class represents a collection of KaxToolBarItem objects. The KaxToolBarItem objects in turn represent items (buttons, dropdowns or split buttons) within a KaxToolBar control.

  • Use the indexer to programmatically retrieve a single KaxToolBarItem from the collection, using array notation.
  • Use the Count property to determine the total number of toolbar items in the collection.
  • Use the Add method to add toolbar items to the collection.
  • Use the Remove method to remove toolbar items from the collection.
See Also