C# Class Habanero.Faces.Win.ComboBoxWin.ComboBoxObjectCollectionWin

Represents the collection of items in a ComboBox
Inheritance: IComboBoxObjectCollection
Datei anzeigen Open project: Chillisoft/habanero.faces

Public Methods

Method Description
Add ( object item ) : void

Adds an item to the list of items for a ComboBox

Clear ( ) : void

Removes all items from the ComboBox

ComboBoxObjectCollectionWin ( ObjectCollection items ) : System

Construct this wrapper collection

Contains ( object value ) : bool

Determines if the specified item is located within the collection

GetEnumerator ( ) : IEnumerator

Returns an enumerator that iterates through a collection.

IndexOf ( object value ) : int

Retrieves the index within the collection of the specified item

Insert ( int index, object item ) : void

Inserts an item into the collection at the specified index.

Remove ( object item ) : void

Removes the specified item from the ComboBox

this ( int index ) : object

Retrieves the item at the specified index within the collection

Method Details

Add() public method

Adds an item to the list of items for a ComboBox
public Add ( object item ) : void
item object An object representing the item to add to the collection
return void

Clear() public method

Removes all items from the ComboBox
public Clear ( ) : void
return void

ComboBoxObjectCollectionWin() public method

Construct this wrapper collection
public ComboBoxObjectCollectionWin ( ObjectCollection items ) : System
items ObjectCollection
return System

Contains() public method

Determines if the specified item is located within the collection
public Contains ( object value ) : bool
value object An object representing the item to locate in the collection
return bool

GetEnumerator() public method

Returns an enumerator that iterates through a collection.
public GetEnumerator ( ) : IEnumerator
return IEnumerator

IndexOf() public method

Retrieves the index within the collection of the specified item
public IndexOf ( object value ) : int
value object An object representing the item to locate in the collection
return int

Insert() public method

Inserts an item into the collection at the specified index.
The item was null The index was less than zero.-or- The index was greater than the count of items in the collection.
public Insert ( int index, object item ) : void
index int The zero-based index location where the item is inserted
item object An object representing the item to insert.
return void

Remove() public method

Removes the specified item from the ComboBox
public Remove ( object item ) : void
item object The System.Object to remove from the list
return void

this() public method

Retrieves the item at the specified index within the collection
public this ( int index ) : object
index int The index of the item in the collection to retrieve
return object