[]
Adds a RenderInputComboBoxItem to the current collection.
public int Add(RenderInputComboBoxItem item)
Type | Name | Description |
---|---|---|
RenderInputComboBoxItem | item | The item to add. |
Type | Description |
---|---|
int | Index of the added item in the current collection. |
Creates a new RenderInputComboBoxItem, initializing its Text with the passed string, and adds it to the current collection.
public int Add(string itemText)
Type | Name | Description |
---|---|---|
string | itemText | The text of the item to add. |
Type | Description |
---|---|
int | Index of the added item in the current collection. |