C# Класс Habanero.Faces.Win.ComboBoxWin.ComboBoxObjectCollectionWin

Represents the collection of items in a ComboBox
Наследование: IComboBoxObjectCollection
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Описание методов

Add() публичный Метод

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
Результат void

Clear() публичный Метод

Removes all items from the ComboBox
public Clear ( ) : void
Результат void

ComboBoxObjectCollectionWin() публичный Метод

Construct this wrapper collection
public ComboBoxObjectCollectionWin ( ObjectCollection items ) : System
items ObjectCollection
Результат System

Contains() публичный Метод

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
Результат bool

GetEnumerator() публичный Метод

Returns an enumerator that iterates through a collection.
public GetEnumerator ( ) : IEnumerator
Результат IEnumerator

IndexOf() публичный Метод

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
Результат int

Insert() публичный Метод

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.
Результат void

Remove() публичный Метод

Removes the specified item from the ComboBox
public Remove ( object item ) : void
item object The System.Object to remove from the list
Результат void

this() публичный Метод

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
Результат object