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)
975return _groups; 985=> ShowGroups && _groups is not null && _groups.Count > 0 && Application.ComCtlSupportsVisualStyles && !VirtualMode; 3931Debug.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"); 3935bool groupItems = (_groups.Count == 1) && GroupsEnabled; 4577if (_groups is not null) 4579for (int index = 0; index < _groups.Count; index++) 4581InsertGroupNative(index, _groups[index]); 6361for (int i = 0; i < _groups!.Count; i++) 6363ListViewGroup targetGroup = _groups[i]; 6454for (int i = 0; i < _groups!.Count; i++) 6456if (_groups[i].ID == groupID)