'宣言 Public Property SelectedIndices As System.Collections.ArrayList
public System.Collections.ArrayList SelectedIndices {get; set;}
'宣言 Public Property SelectedIndices As System.Collections.ArrayList
public System.Collections.ArrayList SelectedIndices {get; set;}
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); c.SelectedIndices = indicesToSelect;