22 references to Expanded
System.Windows.Forms (4)
System\Windows\Forms\Controls\ListView\ListView.cs (2)
6367
targetGroup.CollapsedState = targetGroup.CollapsedState == ListViewGroupCollapsedState.
Expanded
6369
: ListViewGroupCollapsedState.
Expanded
;
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 (1)
152
=> _owningGroup.CollapsedState = ListViewGroupCollapsedState.
Expanded
;
System.Windows.Forms.Tests (15)
System\Windows\Forms\AccessibleObjects\ListViewGroup.ListViewGroupAccessibleObjectTests.cs (9)
709
CollapsedState = ListViewGroupCollapsedState.
Expanded
743
CollapsedState = ListViewGroupCollapsedState.
Expanded
774
Assert.Equal(ListViewGroupCollapsedState.
Expanded
, listViewGroup.GetNativeCollapsedState());
780
Assert.Equal(ListViewGroupCollapsedState.
Expanded
, listViewGroup.GetNativeCollapsedState());
786
[InlineData(ListViewGroupCollapsedState.
Expanded
)]
794
ListViewGroup group2 = new("Group 2") { CollapsedState = ListViewGroupCollapsedState.
Expanded
};
795
ListViewGroup group3 = new("Group 3") { CollapsedState = ListViewGroupCollapsedState.
Expanded
};
831
Assert.Equal(ListViewGroupCollapsedState.
Expanded
, group3.GetNativeCollapsedState());
832
Assert.Equal(ListViewGroupCollapsedState.
Expanded
, group3.CollapsedState);
System\Windows\Forms\AccessibleObjects\ListViewItem.ListViewItemAccessibleObjectTests.cs (1)
1937
CollapsedState = ListViewGroupCollapsedState.
Expanded
System\Windows\Forms\ListViewGroupTests.cs (4)
116
[InlineData(ListViewGroupCollapsedState.
Expanded
)]
1038
yield return new object[] { ListViewGroupCollapsedState.
Expanded
, ListViewGroupCollapsedState.
Expanded
};
1148
else if (expectedCollapsedState == ListViewGroupCollapsedState.
Expanded
)
System\Windows\Forms\ListViewItem.IKeyboardToolTipTests.cs (1)
117
[InlineData(ListViewGroupCollapsedState.
Expanded
, false)]
System.Windows.Forms.UI.IntegrationTests (2)
ListViewTests.cs (2)
50
ListViewGroup group = new($"Group 1", HorizontalAlignment.Left) { CollapsedState = ListViewGroupCollapsedState.
Expanded
};
110
Assert.Equal(ListViewGroupCollapsedState.
Expanded
, group.CollapsedState);
WinFormsControlsTest (1)
ListViewTest.cs (1)
149
CollapsedState = ListViewGroupCollapsedState.
Expanded