22 references to Expanded
System.Windows.Forms (4)
System\Windows\Forms\Controls\ListView\ListView.cs (2)
6371
targetGroup.CollapsedState = targetGroup.CollapsedState == ListViewGroupCollapsedState.
Expanded
6373
: 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)
711
CollapsedState = ListViewGroupCollapsedState.
Expanded
745
CollapsedState = ListViewGroupCollapsedState.
Expanded
776
Assert.Equal(ListViewGroupCollapsedState.
Expanded
, listViewGroup.GetNativeCollapsedState());
782
Assert.Equal(ListViewGroupCollapsedState.
Expanded
, listViewGroup.GetNativeCollapsedState());
788
[InlineData(ListViewGroupCollapsedState.
Expanded
)]
796
ListViewGroup group2 = new("Group 2") { CollapsedState = ListViewGroupCollapsedState.
Expanded
};
797
ListViewGroup group3 = new("Group 3") { CollapsedState = ListViewGroupCollapsedState.
Expanded
};
833
Assert.Equal(ListViewGroupCollapsedState.
Expanded
, group3.GetNativeCollapsedState());
834
Assert.Equal(ListViewGroupCollapsedState.
Expanded
, group3.CollapsedState);
System\Windows\Forms\AccessibleObjects\ListViewItem.ListViewItemAccessibleObjectTests.cs (1)
1939
CollapsedState = ListViewGroupCollapsedState.
Expanded
System\Windows\Forms\ListViewGroupTests.cs (4)
118
[InlineData(ListViewGroupCollapsedState.
Expanded
)]
1043
yield return new object[] { ListViewGroupCollapsedState.
Expanded
, ListViewGroupCollapsedState.
Expanded
};
1153
else if (expectedCollapsedState == ListViewGroupCollapsedState.
Expanded
)
System\Windows\Forms\ListViewItem.IKeyboardToolTipTests.cs (1)
119
[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