[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.SelectFieldItem

SelectFieldItem Class

Represents an item in a CheckBoxListCellType or RadioButtonListCellType.

A SelectFieldItem stores the display text shown to the user and the underlying value associated with that option.

Inheritance
SelectFieldItem
Namespace: GrapeCity.Documents.Excel
Assembly: DS.Documents.Excel.dll
Syntax
public class SelectFieldItem
Public Class SelectFieldItem
Examples
SelectFieldItem item = new SelectFieldItem("Option 1", "1");
CheckBoxListCellType cellType = new CheckBoxListCellType();
cellType.Items.Add(item);

Constructors

Name Description
SelectFieldItem()

Generates an item for a checkbox list or radio button list.

This constructor creates an empty item. Set the item's text and value after construction by using Text and Value.

SelectFieldItem(string, object)

Creates an item for a checkbox list or radio button list.

This constructor initializes the display text shown to the user and the underlying value associated with the item.

Properties

Name Description
Text

Gets or sets the text of the item.

Value

Gets or sets the value of the item.