Implemented interface member:
17 references to
System.Windows.Forms (4)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (4)
847strings[i] = GetItemText(Items[i])!; 911return (index == -1) ? null : Items[index]; 3034Items.SetItemInternal(index, Items[index]!); 3429object? item = Items[SelectedIndex];
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\DataGridViewAddColumnDialog.cs (1)
846if (type == ((ComboBoxItem)_columnTypesCombo.Items[i]!).ColumnType)
System.Windows.Forms.Tests (11)
System\Windows\Forms\AccessibleObjects\ComboBox.ComboBoxItemAccessibleObjectTests.cs (1)
498Items[e.Index].ToString(),
System\Windows\Forms\ComboBoxTests.cs (10)
1332Assert.Equal(value == -1 ? null : control.Items[control.SelectedIndex], control.SelectedItem); 1338Assert.Equal(value == -1 ? null : control.Items[control.SelectedIndex], control.SelectedItem); 1357Assert.Equal(value == -1 ? null : control.Items[control.SelectedIndex], control.SelectedItem); 1363Assert.Equal(value == -1 ? null : control.Items[control.SelectedIndex], control.SelectedItem); 2266comboBox.SelectedItem = comboBox.Items[selectedIndex]; 2438Assert.True(item.Equals(comboBox.Items[index])); 2471comboBox.Items.Remove(comboBox.Items[index]); 2499Assert.Equal(items[i], comboBox.Items[i]); 2517Assert.True(comboBox.Items[comboBox.SelectedIndex].Equals(comboBox.SelectedItem)); 2537Assert.True(comboBox.Items[comboBox.SelectedIndex].Equals(comboBox.SelectedItem));
WinFormsControlsTest (1)
ComboBoxesWithScrollBars.cs (1)
139control.Items[e.Index].ToString(),