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]; 3035Items.SetItemInternal(index, Items[index]!); 3430object? 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)
1331Assert.Equal(value == -1 ? null : control.Items[control.SelectedIndex], control.SelectedItem); 1337Assert.Equal(value == -1 ? null : control.Items[control.SelectedIndex], control.SelectedItem); 1356Assert.Equal(value == -1 ? null : control.Items[control.SelectedIndex], control.SelectedItem); 1362Assert.Equal(value == -1 ? null : control.Items[control.SelectedIndex], control.SelectedItem); 2265comboBox.SelectedItem = comboBox.Items[selectedIndex]; 2437Assert.True(item.Equals(comboBox.Items[index])); 2470comboBox.Items.Remove(comboBox.Items[index]); 2498Assert.Equal(items[i], comboBox.Items[i]); 2516Assert.True(comboBox.Items[comboBox.SelectedIndex].Equals(comboBox.SelectedItem)); 2536Assert.True(comboBox.Items[comboBox.SelectedIndex].Equals(comboBox.SelectedItem));
WinFormsControlsTest (1)
ComboBoxesWithScrollBars.cs (1)
139control.Items[e.Index].ToString(),