11 instantiations of SelectedObjectCollection
System.Windows.Forms (1)
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (1)
978
_selectedItems ??= new
SelectedObjectCollection
(this);
System.Windows.Forms.Tests (10)
System\Windows\Forms\ListBox.SelectedObjectCollectionTests.cs (10)
14
var collection = new ListBox.
SelectedObjectCollection
(owner);
23
Assert.Throws<ArgumentNullException>("owner", () => new ListBox.
SelectedObjectCollection
(null));
30
ICollection collection = new ListBox.
SelectedObjectCollection
(owner);
40
IList collection = new ListBox.
SelectedObjectCollection
(owner);
61
IList collection = new ListBox.
SelectedObjectCollection
(owner);
72
IList collection = new ListBox.
SelectedObjectCollection
(owner);
80
IList collection = new ListBox.
SelectedObjectCollection
(owner);
97
IList collection = new ListBox.
SelectedObjectCollection
(owner);
108
IList collection = new ListBox.
SelectedObjectCollection
(owner);
119
IList collection = new ListBox.
SelectedObjectCollection
(owner);
8 references to SelectedObjectCollection
System.Windows.Forms (7)
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (4)
42
private
SelectedObjectCollection
? _selectedItems;
974
public
SelectedObjectCollection
SelectedItems
2021
if (savedItems.InnerArray.GetState(index,
SelectedObjectCollection
.SelectedObjectMask))
2180
SelectedObjectCollection
currentSelections = SelectedItems;
System\Windows\Forms\Controls\ListBoxes\ListBox.SelectedIndexCollection.cs (3)
89
InnerArray.GetState(selectedIndex,
SelectedObjectCollection
.SelectedObjectMask))
91
return InnerArray.IndexOf(InnerArray.GetItem(selectedIndex),
SelectedObjectCollection
.SelectedObjectMask);
141
object identifier = InnerArray.GetEntryObject(index,
SelectedObjectCollection
.SelectedObjectMask);
System.Windows.Forms.Tests (1)
System\Windows\Forms\ListBox.SelectedObjectCollectionTests.cs (1)
14
var
collection = new ListBox.SelectedObjectCollection(owner);