3 instantiations of Entry
System.Windows.Forms (3)
System\Windows\Forms\Controls\ComboBox\ComboBox.ObjectCollection.cs (3)
123
InnerList.Add(new
Entry
(item));
127
Entry entry = item is Entry entryItem ? entryItem : new
Entry
(item);
325
InnerList.Insert(index, new
Entry
(item));
21 references to Entry
System.Windows.Forms (21)
System\Windows\Forms\Controls\ComboBox\ComboBox.ComboBoxAccessibleObject.cs (3)
133
List<
Entry
> entries = owner.Items.InnerList;
136
Entry
item = entries[index];
214
Entry
selectedItem = owner.Entries[selectedIndex];
System\Windows\Forms\Controls\ComboBox\ComboBox.ComboBoxChildListUiaProvider.cs (1)
113
Entry
item = _owningComboBox.Entries[index];
System\Windows\Forms\Controls\ComboBox\ComboBox.ComboBoxItemAccessibleObject.cs (2)
20
private readonly
Entry
_owningItem;
27
public ComboBoxItemAccessibleObject(ComboBox owningComboBox,
Entry
owningItem)
System\Windows\Forms\Controls\ComboBox\ComboBox.ComboBoxItemAccessibleObjectCollection.cs (2)
10
internal class ComboBoxItemAccessibleObjectCollection : Dictionary<
Entry
, ComboBoxItemAccessibleObject>
19
public ComboBoxItemAccessibleObject GetComboBoxItemAccessibleObject(
Entry
key)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (1)
3335
private IReadOnlyList<
Entry
> Entries => Items.InnerList;
System\Windows\Forms\Controls\ComboBox\ComboBox.ObjectCollection.cs (10)
14
public partial class ObjectCollection : IList, IComparer<
Entry
>
18
private List<
Entry
>? _innerList;
48
internal List<
Entry
> InnerList
127
Entry
entry = item is
Entry
entryItem ? entryItem : new Entry(item);
452
foreach (
Entry
entry in InnerList)
455
if ((value is
Entry
itemEntry && entry == itemEntry) || entry.Item.Equals(value))
464
int IComparer<
Entry
>.Compare(
Entry
? entry1,
Entry
? entry2)
System\Windows\Forms\Controls\ComboBox\ComboBox.ObjectCollection.EntryEnumerator.cs (2)
18
private readonly List<
Entry
> _entries;
24
public EntryEnumerator(List<
Entry
> entries)