[]
        
(Showing Draft Content)

C1.C1Preview.RenderInputComboBoxItemCollection.Add

Add Method

Add(RenderInputComboBoxItem)

Adds a RenderInputComboBoxItem to the current collection.

Declaration
public int Add(RenderInputComboBoxItem item)
Parameters
Type Name Description
RenderInputComboBoxItem item

The item to add.

Returns
Type Description
int

Index of the added item in the current collection.

Add(string)

Creates a new RenderInputComboBoxItem, initializing its Text with the passed string, and adds it to the current collection.

Declaration
public int Add(string itemText)
Parameters
Type Name Description
string itemText

The text of the item to add.

Returns
Type Description
int

Index of the added item in the current collection.