Adds a new C1ComboBoxItem to the end of the list.

Namespace:  C1.Web.UI.Controls.C1ComboBox
Assembly:  C1.Web.UI.Controls.3 (in C1.Web.UI.Controls.3.dll)

Syntax

C#
public void Add(
	C1ComboBoxItem child
)
Visual Basic (Declaration)
Public Sub Add ( _
	child As C1ComboBoxItem _
)

Parameters

child
Type: C1.Web.UI.Controls.C1ComboBox..::..C1ComboBoxItem
Item to add.

Examples

Copy CodeC#
C1ComboBox c = new C1ComboBox();
c.Items.Add(new C1ComboBoxItem("test1"));
c.Items.Add(new C1ComboBoxItem("test2"));

See Also