[]
Represents an item in a IListBox.
A ListBoxItem stores the display value used by a list box control.
Create instances of this class and add them to Items to
populate the available choices.
public class ListBoxItem : SelectorItem
Public Class ListBoxItem
Inherits SelectorItem
IListBox listBox = worksheet.Controls.AddListBox(20, 20, 120, 80);
ListBoxItem item = new ListBoxItem("Item 1");
listBox.Items.Add(item);
| Name | Description |
|---|---|
| ListBoxItem() | Creates an empty item.
Use this constructor to create a |
| ListBoxItem(string) | Creates a list box item with the specified value. This constructor initializes the item by assigning |