Click or drag to resize
KaxComboBoxItemCollection Class
A collection of KaxComboBoxItem objects in a KaxComboBox control.
Inheritance Hierarchy
SystemObject
  System.Web.UIStateManagedCollection
    Kettic.AspNet.ControlsControlItemCollection
      Kettic.AspNet.ControlsKaxComboBoxItemCollection

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 KaxComboBoxItemCollection : ControlItemCollection, 
	IList<KaxComboBoxItem>, ICollection<KaxComboBoxItem>, IEnumerable<KaxComboBoxItem>, 
	IEnumerable

The KaxComboBoxItemCollection type exposes the following members.

Constructors
  NameDescription
Public methodKaxComboBoxItemCollection
Initializes a new instance of the KaxComboBoxItemCollection class.
Top
Methods
  NameDescription
Public methodCode exampleAdd
Appends the specified KaxComboBoxItem object to the end of the current KaxComboBoxItemCollection.
Public methodCode exampleAddRange
Appends the specified array of KaxComboBoxItem objects to the end of the current KaxComboBoxItemCollection.
Public methodContains
Determines whether the specified KaxComboBoxItem object is in the current KaxComboBoxItemCollection.
Public methodCode exampleFindItem
Returns the first KaxComboBoxItem 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 KaxComboBoxItem which contains the specified attribute and attribute value.
Public methodFindItemByText(String)
Finds the first KaxComboBoxItem with Text that matches the given text value.
Public methodCode exampleFindItemByText(String, Boolean)
Finds the first KaxComboBoxItem with Text that matches the given text value.
Public methodFindItemByValue(String)
Finds the first KaxComboBoxItem with Value that matches the given value.
Public methodCode exampleFindItemByValue(String, Boolean)
Finds the first KaxComboBoxItem with Value that matches the given value.
Public methodFindItemIndexByText(String)
Returns the index of the first KaxComboBoxItem with Text that matches the given text value.
Public methodFindItemIndexByText(String, Boolean)
Returns the index of the first KaxComboBoxItem with Text that matches the given text value.
Public methodFindItemIndexByValue(String)
Returns the index of the first KaxComboBoxItem with Value that matches the given value.
Public methodFindItemIndexByValue(String, Boolean)
Returns the index of the first KaxComboBoxItem with Value that matches the given value.
Public methodIndexOf
Determines the index of the specified KaxComboBoxItem object in the collection.
Public methodInsert
Inserts the specified KaxComboBoxItem object in the current KaxComboBoxItemCollection at the specified index location.
Public methodRemove(Int32)
Removes the specified KaxComboBoxItem object from the current KaxComboBoxItemCollection.
Public methodRemove(KaxComboBoxItem)
Removes the specified KaxComboBoxItem object from the current KaxComboBoxItemCollection.
Public methodSort
Sort the items from KaxComboBoxItemCollection.
Public methodSort(IComparer)
Sort the items from KaxComboBoxItemCollection.
Top
Properties
  NameDescription
Public propertyItem
Gets the KaxComboBoxItem object at the specified index in the current KaxComboBoxItemCollection.
Top
Remarks
The KaxComboBoxItemCollection class represents a collection of KaxComboBoxItem objects.
  • Use the indexer to programmatically retrieve a single KaxComboBoxItem from the collection, using array notation.
  • Use the Count property to determine the total number of combo items in the collection.
  • Use the Add method to add items in the collection.
  • Use the Remove method to remove items from the collection.
See Also