1 instantiation of ItemArray
System.Windows.Forms (1)
System\Windows\Forms\Controls\ListBoxes\ListBox.ObjectCollection.cs (1)
62_items ??= new ItemArray(_owner);
34 references to ItemArray
System.Windows.Forms (24)
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.CheckedIndexCollection.cs (1)
144private ItemArray InnerArray
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.CheckedItemCollection.cs (3)
13internal static int s_checkedItemMask = ItemArray.CreateMask(); 14internal static int s_indeterminateItemMask = ItemArray.CreateMask(); 39private ItemArray InnerArray
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 (3)
8using static System.Windows.Forms.ItemArray; 21private ItemArray _items = null!; 58internal ItemArray InnerArray
System\Windows\Forms\Controls\ListBoxes\ListBox.SelectedIndexCollection.cs (1)
162private ItemArray InnerArray
System\Windows\Forms\Controls\ListBoxes\ListBox.SelectedObjectCollection.cs (2)
15internal static int SelectedObjectMask { get; } = ItemArray.CreateMask(); 109private ItemArray InnerArray
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 (1)
6using static System.Windows.Forms.ItemArray;
System\Windows\Forms\Internal\ItemArray.EntryEnumerator.cs (2)
16private readonly ItemArray _items; 25public EntryEnumerator(ItemArray items, int state, bool anyBit)
System.Windows.Forms.Tests (10)
System\Windows\Forms\AccessibleObjects\CheckedListBoxItemAccessibleObjectTests.cs (3)
19Assert.Throws<ArgumentNullException>(() => { new CheckedListBoxItemAccessibleObject(null, new ItemArray.Entry("A"), accessibleObject); }); 38Assert.Throws<ArgumentNullException>(() => { new CheckedListBoxItemAccessibleObject(checkedListBox, new ItemArray.Entry("A"), null); }); 335new ItemArray.Entry("Item 1"),
System\Windows\Forms\AccessibleObjects\ListBox.ListBoxItemAccessibleObjectTests.cs (2)
190ItemArray.Entry itemEntry = new ItemArray.Entry("Test Item");
System\Windows\Forms\AccessibleObjects\ListBoxAccessibleObjectTests.cs (1)
124ItemArray.Entry? item = listBox.Items.InnerArray.Entries[0];
System\Windows\Forms\AccessibleObjects\PropertyGridView.GridViewListBoxItemAccessibleObjectTests.cs (4)
20Assert.Throws<TargetInvocationException>(() => (AccessibleObject)Activator.CreateInstance(type, [null, new ItemArray.Entry("A")])); 38var accessibleObject = (AccessibleObject)Activator.CreateInstance(type, [control, new ItemArray.Entry("A")]); 53var itemEntry = new ItemArray.Entry(testName); 67var accessibleObject = (AccessibleObject)Activator.CreateInstance(type, [control, new ItemArray.Entry("A")]);