CellControlCollection.AddComboBox

AddComboBox(int, int, ICollection)

Adds a combobox to a specified cell at row column index.

public ComboBox AddComboBox(int row, int col, ICollection items)
ParameterTypeDescription
rowInt32Row index of cell.
colInt32Column index of cell.
itemsICollectionThe collection of the items contained in ComboBox.

Return Value

The added combobox.

See Also


AddComboBox(int, int, ICollection, ICollection)

Adds a combobox to a specified cell at row column index.

public ComboBox AddComboBox(int row, int col, ICollection items, ICollection values)
ParameterTypeDescription
rowInt32Row index of cell.
colInt32Column index of cell.
itemsICollectionThe collection of the items contained in ComboBox.
valuesICollectionThe collection of the values contained in ComboBox.

Return Value

The added combobox.

See Also


AddComboBox(string, ICollection)

Adds a combobox to a specified cell by cell name.

public ComboBox AddComboBox(string cellName, ICollection items)
ParameterTypeDescription
cellNameStringName of grid cell.
itemsICollectionThe collection of the items contained in ComboBox.

Return Value

The added combobox.

See Also


AddComboBox(string, ICollection, ICollection)

Adds a combobox to a specified cell by cell name.

public ComboBox AddComboBox(string cellName, ICollection items, ICollection values)
ParameterTypeDescription
cellNameStringName of grid cell.
itemsICollectionThe collection of the items contained in ComboBox.
valuesICollectionThe collection of the values contained in ComboBox.

Return Value

The added combobox.

See Also