1 write to groups
System.Windows.Forms (1)
winforms\Managed\System\WinForms\ListView.cs (1)
939
groups
= new ListViewGroupCollection(this);
10 references to groups
System.Windows.Forms (10)
winforms\Managed\System\WinForms\ListView.cs (10)
938
if (
groups
== null) {
941
return
groups
;
950
return this.ShowGroups &&
groups
!= null &&
groups
.Count > 0 && ComctlSupportsVisualStyles && !VirtualMode;
3698
Debug.Assert(this.
groups
!= null && this.
groups
.Count > 0, "this method should be used only when the user adds a group, not when we add our own DefaultGroup");
3702
bool groupItems = (this.
groups
.Count == 1) && this.GroupsEnabled;
4299
if (
groups
!= null) {
4300
for(int index = 0;index <
groups
.Count;index++) {
4301
InsertGroupNative(index,
groups
[index]);