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