16 references to GroupsEnabled
System.Windows.Forms (10)
System\Windows\Forms\Controls\ListView\ListView.cs (8)
984internal bool GroupsDisplayed => View != View.List && GroupsEnabled; 3180if (IsHandleCreated && GroupsEnabled) 3947bool groupItems = (_groups.Count == 1) && GroupsEnabled; 3969if (GroupsEnabled) 4144if (GroupsEnabled) 4424if (IsAccessibilityObjectCreated && GroupsEnabled && e.GroupIndex >= 0 && e.GroupIndex < Groups.Count) 5861int retval = (int)PInvokeCore.SendMessage(this, PInvoke.LVM_ENABLEGROUPVIEW, (WPARAM)(BOOL)GroupsEnabled); 6762if (GroupsEnabled)
System\Windows\Forms\Controls\ListView\ListViewGroup.cs (1)
416if (!ListView.GroupsEnabled)
System\Windows\Forms\Controls\ListView\ListViewItem.cs (1)
1094if (_listView.GroupsEnabled)
System.Windows.Forms.Tests (6)
System\Windows\Forms\AccessibleObjects\ListVIew.ListViewAccessibleObjectTests.cs (4)
1272int expectedCount = view != View.List && listView.GroupsEnabled ? 2 : 4; 1314if (listView.GroupsEnabled && view != View.List) 1367AccessibleObject expectedFirstChild = listView.GroupsEnabled && view != View.List 1371AccessibleObject expectedLastChild = listView.GroupsEnabled && view != View.List
System\Windows\Forms\ListViewTests.cs (2)
4598Assert.False(control.GroupsEnabled); 5411int expectedCount = listView.GroupsEnabled && groupId == 0 ? 1 : 0;