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];
3034
Items.SetItemInternal(index, Items
[
index]!);
3429
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)
1332
Assert.Equal(value == -1 ? null : control.Items
[
control.SelectedIndex], control.SelectedItem);
1338
Assert.Equal(value == -1 ? null : control.Items
[
control.SelectedIndex], control.SelectedItem);
1357
Assert.Equal(value == -1 ? null : control.Items
[
control.SelectedIndex], control.SelectedItem);
1363
Assert.Equal(value == -1 ? null : control.Items
[
control.SelectedIndex], control.SelectedItem);
2266
comboBox.SelectedItem = comboBox.Items
[
selectedIndex];
2438
Assert.True(item.Equals(comboBox.Items
[
index]));
2471
comboBox.Items.Remove(comboBox.Items
[
index]);
2499
Assert.Equal(items[i], comboBox.Items
[
i]);
2517
Assert.True(comboBox.Items
[
comboBox.SelectedIndex].Equals(comboBox.SelectedItem));
2537
Assert.True(comboBox.Items
[
comboBox.SelectedIndex].Equals(comboBox.SelectedItem));
WinFormsControlsTest (1)
ComboBoxesWithScrollBars.cs (1)
139
control.Items
[
e.Index].ToString(),