3 writes to
System.Windows.Forms (1)
System\Windows\Forms\Controls\ListView\ListViewGroupCollection.cs (1)
107
this
[
index] = group;
System.Windows.Forms.Tests (2)
System\Windows\Forms\ListViewGroupCollectionTests.cs (2)
126
collection
[
index] = group2;
186
Assert.Throws<ArgumentOutOfRangeException>("index", () => collection
[
index] = new ListViewGroup());
18 references to
System.Windows.Forms (13)
System\Windows\Forms\Controls\ListView\ListView.cs (4)
4414
ListViewGroup listViewGroup = Groups
[
e.GroupIndex];
4581
InsertGroupNative(index, _groups
[
index]);
6363
ListViewGroup targetGroup = _groups
[
i];
6456
if (_groups
[
i].ID == groupID)
System\Windows\Forms\Controls\ListView\ListViewGroupCollection.cs (9)
65
if (string.Equals(key, this
[
i].Name, StringComparison.CurrentCulture))
67
return this
[
i];
86
if (string.Equals(key, this
[
i].Name, StringComparison.CurrentCulture))
102
get => this
[
index];
169
Add(groups
[
i]);
191
_listView.RemoveGroupFromListView(this
[
i]);
198
this
[
i].ListView = null;
199
this
[
i].ReleaseUiaProvider();
302
public void RemoveAt(int index) => Remove(this
[
index]);
System.Windows.Forms.Tests (5)
System\Windows\Forms\AccessibleObjects\ListViewGroup.ListViewGroupAccessibleObjectTests.cs (1)
906
AccessibleObject GetAccessibleObject(int index) => listView.Groups
[
index].AccessibilityObject;
System\Windows\Forms\ListViewGroupCollectionTests.cs (3)
41
Assert.Throws<ArgumentOutOfRangeException>("index", () => collection
[
index]);
274
Assert.Equal(collection
[
expectedIndex], collection[key]);
323
Assert.Same(group3, collection
[
expectedIndex]);
System\Windows\Forms\ListViewTests.cs (1)
4599
Assert.Equal(control.Groups
[
expectedGroupIndex], control.FocusedGroup);