Click or drag to resize
KaxToolBarButtonCollection Class
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 KaxToolBarButtonCollection : KaxToolBarItemCollection

The KaxToolBarButtonCollection type exposes the following members.

Constructors
  NameDescription
Public methodKaxToolBarButtonCollection
Initializes a new instance of the KaxToolBarButtonCollection class.
Top
Methods
  NameDescription
Public methodCode exampleAdd
Appends the specified KaxToolBarButton object to the end of the current KaxToolBarButtonCollection.
Public methodCode exampleAddRange
Appends the specified array of KaxToolBarButton objects to the end of the current KaxToolBarButtonCollection.
Public methodContains
Determines whether the specified KaxToolBarButton object is in the current KaxToolBarButtonCollection.
Public methodFindButtonByAttribute
Searches the items in the collection for a KaxToolBarButton which contains the specified attribute and attribute value.
Public methodFindButtonByText
Searches the KaxToolBarButtonCollection for the first KaxToolBarButton with a Text property equal to the specified value.
Public methodFindButtonByValue
Searches the KaxToolBarButtonCollection for the first KaxToolBarButton with a Value property equal to the specified value.
Public methodIndexOf
Determines the index of the specified KaxToolBarButton object in the collection.
Public methodInsert
Inserts the specified KaxToolBarButton object in the current KaxToolBarButtonCollection at the specified index location.
Public methodRemove
Removes the specified KaxToolBarButton object from the current KaxToolBarButtonCollection.
Public methodRemoveAt
Removes the KaxToolBarButton object at the specified index from the current KaxToolBarButtonCollection.
Top
Properties
  NameDescription
Public propertyItem
Gets the KaxToolBarButton object at the specified index in the current KaxToolBarButtonCollection.
Top
Remarks

The KaxToolBarButtonCollection class represents a collection of KaxToolBarButton objects. The KaxToolBarButton objects in turn represent buttons within a KaxToolBarDropDown or a KaxToolBarSplitButton.

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