3 instantiations of Entry
System.Windows.Forms (3)
System\Windows\Forms\Internal\ItemArray.cs (3)
49Entry entry = new(item); 220InsertEntry(index, new Entry(item)); 280return element is Entry entryElement ? entryElement : new Entry(element);
28 references to Entry
System.Windows.Forms (28)
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.CheckedListBoxAccessibleObject.cs (1)
13private protected override ListBoxItemAccessibleObject CreateItemAccessibleObject(ListBox listBox, ItemArray.Entry item)
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.CheckedListBoxItemAccessibleObject.cs (1)
15public CheckedListBoxItemAccessibleObject(CheckedListBox owningCheckedListBox, ItemArray.Entry item, CheckedListBoxAccessibleObject owningAccessibleObject) : base(owningCheckedListBox, item, owningAccessibleObject)
System\Windows\Forms\Controls\ListBoxes\ListBox.AccessibleObject.cs (5)
18private readonly Dictionary<ItemArray.Entry, ListBoxItemAccessibleObject> _itemAccessibleObjects; 58private protected virtual ListBoxItemAccessibleObject CreateItemAccessibleObject(ListBox listBox, ItemArray.Entry item) 148IReadOnlyList<ItemArray.Entry?> entries = owner.Items.InnerArray.Entries; 154ItemArray.Entry? item = entries[index]; 198ItemArray.Entry? item = owner.Items.InnerArray.Entries[index];
System\Windows\Forms\Controls\ListBoxes\ListBox.ItemAccessibleObject.cs (2)
17private readonly ItemArray.Entry _itemEntry; 21public ListBoxItemAccessibleObject(ListBox owningListBox, ItemArray.Entry itemEntry, ListBoxAccessibleObject owningAccessibleObject)
System\Windows\Forms\Controls\ListBoxes\ListBox.ObjectCollection.cs (1)
104Entry entry = GetEntry(item);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.GridViewListBoxItemAccessibleObject.cs (2)
14private readonly ItemArray.Entry _owningItem; 16public GridViewListBoxItemAccessibleObject(GridViewListBox owningGridViewListBox, ItemArray.Entry owningItem)
System\Windows\Forms\Internal\ItemArray.cs (15)
22internal partial class ItemArray : IComparer<Entry> 27private readonly List<Entry> _entries; 35internal IReadOnlyList<Entry?> Entries => _entries; 49Entry entry = new(item); 123foreach (Entry entry in _entries) 171internal Entry GetEntryObject(int virtualIndex, int stateMask = 0) 199foreach (Entry entry in _entries) 204if ((item is Entry itemEntry && entry == itemEntry) || entry.Item.Equals(item)) 223public void InsertEntry(int index, Entry item) 278public static Entry GetEntry(object element) 280return element is Entry entryElement ? entryElement : new Entry(element); 286public int BinarySearch(Entry element) 299int IComparer<Entry>.Compare(Entry? entry1, Entry? entry2)
System\Windows\Forms\Internal\ItemArray.EntryEnumerator.cs (1)
50var entry = _items._entries[_current];