16 references to GroupsEnabled
System.Windows.Forms (10)
System\Windows\Forms\Controls\ListView\ListView.cs (8)
982internal bool GroupsDisplayed => View != View.List && GroupsEnabled; 3175if (IsHandleCreated && GroupsEnabled) 3942bool groupItems = (_groups.Count == 1) && GroupsEnabled; 3964if (GroupsEnabled) 4139if (GroupsEnabled) 4419if (IsAccessibilityObjectCreated && GroupsEnabled && e.GroupIndex >= 0 && e.GroupIndex < Groups.Count) 5852int retval = (int)PInvokeCore.SendMessage(this, PInvoke.LVM_ENABLEGROUPVIEW, (WPARAM)(BOOL)GroupsEnabled); 6749if (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;