1 write to _groups
System.Windows.Forms (1)
System\Windows\Forms\Controls\ListView\ListView.cs (1)
973
_groups
??= new ListViewGroupCollection(this);
13 references to _groups
System.Windows.Forms (13)
System\Windows\Forms\Controls\ListView\ListView.cs (13)
975
return
_groups
;
985
=> ShowGroups &&
_groups
is not null &&
_groups
.Count > 0 && Application.ComCtlSupportsVisualStyles && !VirtualMode;
3931
Debug.Assert(
_groups
is not null &&
_groups
.Count > 0, "this method should be used only when the user adds a group, not when we add our own DefaultGroup");
3935
bool groupItems = (
_groups
.Count == 1) && GroupsEnabled;
4577
if (
_groups
is not null)
4579
for (int index = 0; index <
_groups
.Count; index++)
4581
InsertGroupNative(index,
_groups
[index]);
6361
for (int i = 0; i <
_groups
!.Count; i++)
6363
ListViewGroup targetGroup =
_groups
[i];
6454
for (int i = 0; i <
_groups
!.Count; i++)
6456
if (
_groups
[i].ID == groupID)