11 instantiations of SelectedIndexCollection
System.Windows.Forms (1)
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (1)
919
_selectedIndices ??= new
SelectedIndexCollection
(this);
System.Windows.Forms.Tests (10)
System\Windows\Forms\ListBox.SelectedIndexCollectionTests.cs (10)
14
var collection = new ListBox.
SelectedIndexCollection
(owner);
23
Assert.Throws<ArgumentNullException>("owner", () => new ListBox.
SelectedIndexCollection
(null));
30
ICollection collection = new ListBox.
SelectedIndexCollection
(owner);
40
IList collection = new ListBox.
SelectedIndexCollection
(owner);
61
IList collection = new ListBox.
SelectedIndexCollection
(owner);
72
IList collection = new ListBox.
SelectedIndexCollection
(owner);
80
IList collection = new ListBox.
SelectedIndexCollection
(owner);
97
IList collection = new ListBox.
SelectedIndexCollection
(owner);
108
IList collection = new ListBox.
SelectedIndexCollection
(owner);
119
IList collection = new ListBox.
SelectedIndexCollection
(owner);
6 references to SelectedIndexCollection
System.Windows.Forms (4)
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (2)
43
private
SelectedIndexCollection
? _selectedIndices;
915
public
SelectedIndexCollection
SelectedIndices
System\Windows\Forms\Controls\ListBoxes\ListBox.SelectedIndexCollection.SelectedIndexEnumerator.cs (2)
18
private readonly
SelectedIndexCollection
_items;
24
public SelectedIndexEnumerator(
SelectedIndexCollection
items)
System.Windows.Forms.Tests (2)
System\Windows\Forms\AccessibleObjects\ListBoxAccessibleObjectTests.cs (1)
214
var
indices = listBox.SelectedIndices;
System\Windows\Forms\ListBox.SelectedIndexCollectionTests.cs (1)
14
var
collection = new ListBox.SelectedIndexCollection(owner);