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