25 references to Collapsed
System.Windows.Forms (10)
System\Windows\Forms\Controls\ListView\ListView.cs (3)
4422
listViewGroup.CollapsedState == ListViewGroupCollapsedState.
Collapsed
5719
if (group.CollapsedState == ListViewGroupCollapsedState.
Collapsed
)
6372
? ListViewGroupCollapsedState.
Collapsed
System\Windows\Forms\Controls\ListView\ListViewGroup.cs (1)
414
return state.HasFlag(LIST_VIEW_GROUP_STATE_FLAGS.LVGS_COLLAPSED) ? ListViewGroupCollapsedState.
Collapsed
: ListViewGroupCollapsedState.Expanded;
System\Windows\Forms\Controls\ListView\ListViewGroup.ListViewGroupAccessibleObject.cs (3)
54
uint rectType = _owningGroup.CollapsedState == ListViewGroupCollapsedState.
Collapsed
95
_owningGroup.CollapsedState == ListViewGroupCollapsedState.
Collapsed
147
=> _owningGroup.CollapsedState = ListViewGroupCollapsedState.
Collapsed
;
System\Windows\Forms\Controls\ListView\ListViewItem.IKeyboardToolTip.cs (1)
90
if (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
186
if (OwningGroup?.CollapsedState == ListViewGroupCollapsedState.
Collapsed
)
System.Windows.Forms.Tests (13)
System\Windows\Forms\AccessibleObjects\ListViewGroup.ListViewGroupAccessibleObjectTests.cs (7)
718
CollapsedState = ListViewGroupCollapsedState.
Collapsed
763
Assert.Equal(ListViewGroupCollapsedState.
Collapsed
, listViewGroup.GetNativeCollapsedState());
769
Assert.Equal(ListViewGroupCollapsedState.
Collapsed
, listViewGroup.GetNativeCollapsedState());
785
[InlineData(ListViewGroupCollapsedState.
Collapsed
)]
812
if (firstGroupSate == ListViewGroupCollapsedState.
Collapsed
)
829
Assert.Equal(ListViewGroupCollapsedState.
Collapsed
, group2.GetNativeCollapsedState());
830
Assert.Equal(ListViewGroupCollapsedState.
Collapsed
, group2.CollapsedState);
System\Windows\Forms\AccessibleObjects\ListViewItem.ListViewItemAccessibleObjectTests.cs (2)
1835
bool expected = listView.GroupsDisplayed && listView.Items[0].Group?.CollapsedState == ListViewGroupCollapsedState.
Collapsed
;
1943
CollapsedState = ListViewGroupCollapsedState.
Collapsed
System\Windows\Forms\ListViewGroupTests.cs (3)
115
[InlineData(ListViewGroupCollapsedState.
Collapsed
)]
1042
yield 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)
103
Assert.Equal(ListViewGroupCollapsedState.
Collapsed
, group.CollapsedState);
WinFormsControlsTest (1)
ListViewTest.cs (1)
162
CollapsedState = ListViewGroupCollapsedState.
Collapsed