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