[]
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.
public class SelectFieldItem
Public Class SelectFieldItem
SelectFieldItem item = new SelectFieldItem("Option 1", "1");
CheckBoxListCellType cellType = new CheckBoxListCellType();
cellType.Items.Add(item);
| 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. |
| Name | Description |
|---|---|
| Text | Gets or sets the text of the item. |
| Value | Gets or sets the value of the item. |