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