Clears the current selection by unselecting all selected cells.
Namespace:
C1.Web.UI.Controls.C1ComboBoxAssembly:
C1.Web.UI.Controls.3 (in C1.Web.UI.Controls.3.dll)
Syntax
C# |
---|
public virtual void ClearSelection() |
Visual Basic (Declaration) |
---|
Public Overridable Sub ClearSelection |
Examples
Following code shows how to use this method.
Copy CodeC#
C1ComboBox comboBox = new C1ComboBox();
comboBox.Items.Add(new C1ComboBoxItem("test1"));
comboBox.Items.Add(new C1ComboBoxItem("test2"));
comboBox.ClearSelection(); |
See Also