20 references to Default
System.Windows.Forms (9)
System\Windows\Forms\Controls\ListView\ListView.cs (3)
5716
if (group.CollapsedState != ListViewGroupCollapsedState.
Default
)
6366
if (targetGroup.CollapsedState == ListViewGroupCollapsedState.
Default
)
6926
if (group is null || group.CollapsedState is ListViewGroupCollapsedState.
Default
|| !groups.Add(group.ID))
System\Windows\Forms\Controls\ListView\ListViewGroup.cs (5)
23
private ListViewGroupCollapsedState _collapsedState = ListViewGroupCollapsedState.
Default
;
180
/// The default is <see cref="ListViewGroupCollapsedState.
Default
"/>.
185
[DefaultValue(ListViewGroupCollapsedState.
Default
)]
400
return ListViewGroupCollapsedState.
Default
;
411
return ListViewGroupCollapsedState.
Default
;
System\Windows\Forms\Controls\ListView\ListViewGroup.ListViewGroupAccessibleObject.cs (1)
303
UIA_PATTERN_ID.UIA_ExpandCollapsePatternId => _owningGroup.CollapsedState != ListViewGroupCollapsedState.
Default
,
System.Windows.Forms.Tests (11)
System\Windows\Forms\AccessibleObjects\ListViewGroup.ListViewGroupAccessibleObjectTests.cs (1)
1341
bool expectedPatternSupported = listViewGroupCollapsedState != ListViewGroupCollapsedState.
Default
;
System\Windows\Forms\AccessibleObjects\ListViewItem.ListViewItemAccessibleObjectTests.cs (1)
1187
private ListView GetListViewWithData(View view, bool createControl, bool virtualMode, bool showGroups, bool groupsEnabled = true, bool itemsInGroup = true, ListViewGroupCollapsedState state = ListViewGroupCollapsedState.
Default
)
System\Windows\Forms\ListViewGroupTests.cs (8)
28
Assert.Equal(ListViewGroupCollapsedState.
Default
, group.CollapsedState);
49
Assert.Equal(ListViewGroupCollapsedState.
Default
, group.CollapsedState);
79
Assert.Equal(ListViewGroupCollapsedState.
Default
, group.CollapsedState);
107
Assert.Equal(ListViewGroupCollapsedState.
Default
, group.CollapsedState);
114
[InlineData(ListViewGroupCollapsedState.
Default
)]
1040
yield return new object[] { ListViewGroupCollapsedState.
Default
, ListViewGroupCollapsedState.
Default
};
1147
if (expectedCollapsedState == ListViewGroupCollapsedState.
Default
)
System\Windows\Forms\ListViewItem.IKeyboardToolTipTests.cs (1)
116
[InlineData(ListViewGroupCollapsedState.
Default
, false)]