25 references to Collapsed
System.Windows.Forms (10)
System\Windows\Forms\Controls\ListView\ListView.cs (3)
4418listViewGroup.CollapsedState == ListViewGroupCollapsedState.Collapsed 5715if (group.CollapsedState == ListViewGroupCollapsedState.Collapsed) 6368? ListViewGroupCollapsedState.Collapsed
System\Windows\Forms\Controls\ListView\ListViewGroup.cs (1)
414return state.HasFlag(LIST_VIEW_GROUP_STATE_FLAGS.LVGS_COLLAPSED) ? ListViewGroupCollapsedState.Collapsed : ListViewGroupCollapsedState.Expanded;
System\Windows\Forms\Controls\ListView\ListViewGroup.ListViewGroupAccessibleObject.cs (3)
54uint rectType = _owningGroup.CollapsedState == ListViewGroupCollapsedState.Collapsed 95_owningGroup.CollapsedState == ListViewGroupCollapsedState.Collapsed 147=> _owningGroup.CollapsedState = ListViewGroupCollapsedState.Collapsed;
System\Windows\Forms\Controls\ListView\ListViewItem.IKeyboardToolTip.cs (1)
90if (item.Group is not null && item.Group.CollapsedState == ListViewGroupCollapsedState.Collapsed)
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewItemBaseAccessibleObject.cs (2)
40=> !_owningListView.IsHandleCreated || OwningGroup?.CollapsedState == ListViewGroupCollapsedState.Collapsed 186if (OwningGroup?.CollapsedState == ListViewGroupCollapsedState.Collapsed)
System.Windows.Forms.Tests (13)
System\Windows\Forms\AccessibleObjects\ListViewGroup.ListViewGroupAccessibleObjectTests.cs (7)
718CollapsedState = ListViewGroupCollapsedState.Collapsed 763Assert.Equal(ListViewGroupCollapsedState.Collapsed, listViewGroup.GetNativeCollapsedState()); 769Assert.Equal(ListViewGroupCollapsedState.Collapsed, listViewGroup.GetNativeCollapsedState()); 785[InlineData(ListViewGroupCollapsedState.Collapsed)] 812if (firstGroupSate == ListViewGroupCollapsedState.Collapsed) 829Assert.Equal(ListViewGroupCollapsedState.Collapsed, group2.GetNativeCollapsedState()); 830Assert.Equal(ListViewGroupCollapsedState.Collapsed, group2.CollapsedState);
System\Windows\Forms\AccessibleObjects\ListViewItem.ListViewItemAccessibleObjectTests.cs (2)
1835bool expected = listView.GroupsDisplayed && listView.Items[0].Group?.CollapsedState == ListViewGroupCollapsedState.Collapsed; 1943CollapsedState = ListViewGroupCollapsedState.Collapsed
System\Windows\Forms\ListViewGroupTests.cs (3)
115[InlineData(ListViewGroupCollapsedState.Collapsed)] 1039yield return new object[] { ListViewGroupCollapsedState.Collapsed, ListViewGroupCollapsedState.Collapsed };
System\Windows\Forms\ListViewItem.IKeyboardToolTipTests.cs (1)
118[InlineData(ListViewGroupCollapsedState.Collapsed, true)]
System.Windows.Forms.UI.IntegrationTests (1)
ListViewTests.cs (1)
103Assert.Equal(ListViewGroupCollapsedState.Collapsed, group.CollapsedState);
WinFormsControlsTest (1)
ListViewTest.cs (1)
162CollapsedState = ListViewGroupCollapsedState.Collapsed