Implemented interface member:
17 references to
System.Windows.Forms (4)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (4)
848strings[i] = GetItemText(Items[i])!; 912return (index == -1) ? null : Items[index]; 3036Items.SetItemInternal(index, Items[index]!); 3431object? item = Items[SelectedIndex];
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\DataGridViewAddColumnDialog.cs (1)
839if (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(),