SelectedIndices Property (C1ComboBox)
Gets or sets the SelectedIndices of
C1ComboBox.
public virtual System.Collections.ArrayList SelectedIndices {get; set;}
'Declaration
Public Overridable Property SelectedIndices As System.Collections.ArrayList
C1ComboBox c = new C1ComboBox();
c.Items.Add(new C1ComboBoxItem("test1"));
c.Items.Add(new C1ComboBoxItem("test2"));
c.SelectionMode = C1ComboBoxSelectionMode.Multiple;
ArrayList indicesToSelect = new ArrayList();
indicesToSelect.Add(0);
indicesToSelect.Add(1);
// select 2 items.
c.SelectedIndices = indicesToSelect;