[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.ComboBoxCellItem

ComboBoxCellItem Class

Represents a combo box item.

Each item has a Value value and a Text text. The text is displayed in the combo box dropdown, while the value is stored in the underlying data model. Items are added to a ComboBoxCellType via Items.

Inheritance
ComboBoxCellItem
Namespace: GrapeCity.Documents.Excel
Assembly: DS.Documents.Excel.dll
Syntax
public class ComboBoxCellItem
Public Class ComboBoxCellItem
Examples
ComboBoxCellItem item = new ComboBoxCellItem();
item.Value = "US";
item.Text = "United States";
ComboBoxCellType cellType = new ComboBoxCellType();
cellType.Items.Add(item);
worksheet.Range["A1"].CellType = cellType;

Constructors

Name Description
ComboBoxCellItem()

Properties

Name Description
Text

Gets or sets the text of the item.

Value

Gets or sets the value of the item.