Implemented interface member:
17 references to
System.Windows.Forms (4)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (4)
847
strings[i] = GetItemText(Items
[
i])!;
911
return (index == -1) ? null : Items
[
index];
3035
Items.SetItemInternal(index, Items
[
index]!);
3430
object? item = Items
[
SelectedIndex];
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\DataGridViewAddColumnDialog.cs (1)
846
if (type == ((ComboBoxItem)_columnTypesCombo.Items
[
i]!).ColumnType)
System.Windows.Forms.Tests (11)
System\Windows\Forms\AccessibleObjects\ComboBox.ComboBoxItemAccessibleObjectTests.cs (1)
498
Items
[
e.Index].ToString(),
System\Windows\Forms\ComboBoxTests.cs (10)
1331
Assert.Equal(value == -1 ? null : control.Items
[
control.SelectedIndex], control.SelectedItem);
1337
Assert.Equal(value == -1 ? null : control.Items
[
control.SelectedIndex], control.SelectedItem);
1356
Assert.Equal(value == -1 ? null : control.Items
[
control.SelectedIndex], control.SelectedItem);
1362
Assert.Equal(value == -1 ? null : control.Items
[
control.SelectedIndex], control.SelectedItem);
2265
comboBox.SelectedItem = comboBox.Items
[
selectedIndex];
2437
Assert.True(item.Equals(comboBox.Items
[
index]));
2470
comboBox.Items.Remove(comboBox.Items
[
index]);
2498
Assert.Equal(items[i], comboBox.Items
[
i]);
2516
Assert.True(comboBox.Items
[
comboBox.SelectedIndex].Equals(comboBox.SelectedItem));
2536
Assert.True(comboBox.Items
[
comboBox.SelectedIndex].Equals(comboBox.SelectedItem));
WinFormsControlsTest (1)
ComboBoxesWithScrollBars.cs (1)
139
control.Items
[
e.Index].ToString(),