186 references to List
Accessibility_Core_App (1)
CommonControl1.cs (1)
40listView1.View = View.List;
System.Windows.Forms (7)
System\Windows\Forms\Controls\ListView\ListView.cs (3)
519(value && View == View.List && IsHandleCreated) || 980internal bool GroupsDisplayed => View != View.List && GroupsEnabled; 5465if (View == View.List && subItemIndex == 0)
System\Windows\Forms\Controls\ListView\ListViewItem.cs (2)
261View.List => new ListViewItemListAccessibleObject(this), 534case View.List:
System\Windows\Forms\Controls\ListView\ListViewItem.IKeyboardToolTip.cs (1)
101View.Details or View.List => GetDetailsListRectangle(point, item, itemBounds),
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewItemListAccessibleObject.cs (1)
26protected override View View => View.List;
System.Windows.Forms.Tests (178)
System\Windows\Forms\AccessibleObjects\ListVIew.ListViewAccessibleObjectTests.cs (6)
1141[InlineData(View.List)] 1165[InlineData(View.List)] 1270int expectedCount = view != View.List && listView.GroupsEnabled ? 2 : 4; 1312if (listView.GroupsEnabled && view != View.List) 1365AccessibleObject expectedFirstChild = listView.GroupsEnabled && view != View.List 1369AccessibleObject expectedLastChild = listView.GroupsEnabled && view != View.List
System\Windows\Forms\AccessibleObjects\ListViewItem.ListViewItemAccessibleObjectTests.cs (28)
160&& listView.View != View.List 201if (Application.UseVisualStyles && showGroups && !virtualMode && listView.View != View.List) 248if (Application.UseVisualStyles && showGroups && !virtualMode && listView.View != View.List) 286foreach (View view in new View[] { View.List, View.LargeIcon, View.SmallIcon }) 1451View = View.List, 1531[InlineData(View.List)] 1561[InlineData(View.List)] 1576[InlineData(View.List)] 1635[InlineData(View.List)] 1653[InlineData(View.List)] 1669case View.List: 1717case View.List: 1732[InlineData(View.Details, View.List)] 1736[InlineData(View.LargeIcon, View.List)] 1739[InlineData(View.List, View.Details)] 1740[InlineData(View.List, View.LargeIcon)] 1741[InlineData(View.List, View.SmallIcon)] 1742[InlineData(View.List, View.Tile)] 1745[InlineData(View.SmallIcon, View.List)] 1749[InlineData(View.Tile, View.List)] 1765[InlineData(View.Details, View.List)] 1769[InlineData(View.LargeIcon, View.List)] 1772[InlineData(View.List, View.Details)] 1773[InlineData(View.List, View.LargeIcon)] 1774[InlineData(View.List, View.SmallIcon)] 1775[InlineData(View.List, View.Tile)] 1778[InlineData(View.SmallIcon, View.List)] 1782[InlineData(View.Tile, View.List)]
System\Windows\Forms\AccessibleObjects\ListViewItem.ListViewItemBaseAccessibleObjectTests.cs (3)
194[InlineData(View.List)] 212[InlineData(View.List)] 404protected override View View => View.List;
System\Windows\Forms\AccessibleObjects\ListViewItem.ListViewItemListAccessibleObjectTests.cs (4)
28control.View = View.List; 39control.View = View.List; 51control.View = View.List; 70control.View = View.List;
System\Windows\Forms\AccessibleObjects\ListViewItem.ListViewSubItem.ListViewSubItemAccessibleObjectTests.cs (5)
98[InlineData(View.List)] 114foreach (View view in new[] { View.List, View.LargeIcon, View.SmallIcon, View.Tile }) 711[InlineData(View.List, true)] 712[InlineData(View.List, false)] 1028[InlineData(View.List)]
System\Windows\Forms\ControlTests.cs (1)
1057listView1.View = View.List;
System\Windows\Forms\DrawListViewItemEventArgsTests.cs (1)
82foreach (View view in new View[] { View.Details, View.List })
System\Windows\Forms\ListViewItem.IKeyboardToolTipTests.cs (5)
135[InlineData(true, View.List, 50, 50)] 136[InlineData(false, View.List, 50, 50)] 156[InlineData(true, View.List)] 157[InlineData(false, View.List)] 219using var listView = GetListView(virtualMode, view: View.List);
System\Windows\Forms\ListViewTests.cs (125)
805yield return new object[] { useCompatibleStateImageBehavior, View.List, alignment, imageListFactory(), value }; 909yield return new object[] { true, View.List, alignment, imageListFactory(), true, 1, 0, 2, 0 }; 913yield return new object[] { true, View.List, alignment, imageListFactory(), false, 0, 0, 1, 0 }; 921yield return new object[] { false, View.List, alignment, null, true, 1, 1, 2, 1 }; 925yield return new object[] { false, View.List, alignment, null, false, 0, 0, 1, 1 }; 930yield return new object[] { false, View.List, alignment, new ImageList(), true, 1, 1, 2, 2 }; 934yield return new object[] { false, View.List, alignment, new ImageList(), false, 0, 0, 1, 1 }; 943yield return new object[] { false, View.List, ListViewAlignment.Left, imageListFactory(), true, 1, 1, 2, 2 }; 947yield return new object[] { false, View.List, ListViewAlignment.Left, imageListFactory(), false, 0, 0, 1, 1 }; 1541foreach (View view in new View[] { View.Details, View.LargeIcon, View.List, View.SmallIcon }) 1607yield return new object[] { true, false, View.List, null }; 1608yield return new object[] { true, false, View.List, new ImageList() }; 1609yield return new object[] { true, false, View.List, CreateImageListNonEmpty() }; 1625yield return new object[] { autoArrange, true, View.List, null }; 1626yield return new object[] { autoArrange, true, View.List, new ImageList() }; 1627yield return new object[] { autoArrange, true, View.List, CreateImageListNonEmpty() }; 1639yield return new object[] { false, false, View.List, null }; 1640yield return new object[] { false, false, View.List, new ImageList() }; 1641yield return new object[] { false, false, View.List, CreateImageListNonEmpty() }; 1693yield return new object[] { true, false, View.List, null }; 1694yield return new object[] { true, false, View.List, new ImageList() }; 1695yield return new object[] { true, false, View.List, CreateImageListNonEmpty() }; 1711yield return new object[] { autoArrange, true, View.List, null }; 1712yield return new object[] { autoArrange, true, View.List, new ImageList() }; 1713yield return new object[] { autoArrange, true, View.List, CreateImageListNonEmpty() }; 1725yield return new object[] { false, false, View.List, null }; 1726yield return new object[] { false, false, View.List, new ImageList() }; 1727yield return new object[] { false, false, View.List, CreateImageListNonEmpty() }; 2486foreach (View view in new View[] { View.Details, View.LargeIcon, View.List, View.SmallIcon }) 2551yield return new object[] { true, false, View.List, null, 0 }; 2552yield return new object[] { true, false, View.List, new ImageList(), 0 }; 2553yield return new object[] { true, false, View.List, CreateImageListNonEmpty(), 0 }; 2569yield return new object[] { autoArrange, true, View.List, null, 0 }; 2570yield return new object[] { autoArrange, true, View.List, new ImageList(), 0 }; 2571yield return new object[] { autoArrange, true, View.List, CreateImageListNonEmpty(), 0 }; 2583yield return new object[] { false, false, View.List, null, 0 }; 2584yield return new object[] { false, false, View.List, new ImageList(), 0 }; 2585yield return new object[] { false, false, View.List, CreateImageListNonEmpty(), 0 }; 2636yield return new object[] { true, false, View.List, null, 0 }; 2637yield return new object[] { true, false, View.List, new ImageList(), 0 }; 2638yield return new object[] { true, false, View.List, CreateImageListNonEmpty(), 0 }; 2654yield return new object[] { autoArrange, true, View.List, null, 0 }; 2655yield return new object[] { autoArrange, true, View.List, new ImageList(), 0 }; 2656yield return new object[] { autoArrange, true, View.List, CreateImageListNonEmpty(), 0 }; 2668yield return new object[] { false, false, View.List, null, 0 }; 2669yield return new object[] { false, false, View.List, new ImageList(), 0 }; 2670yield return new object[] { false, false, View.List, CreateImageListNonEmpty(), 0 }; 3150foreach (View view in new View[] { View.Details, View.LargeIcon, View.List, View.SmallIcon }) 3215yield return new object[] { true, false, View.List, null, 0, 0 }; 3216yield return new object[] { true, false, View.List, new ImageList(), 0, 0 }; 3217yield return new object[] { true, false, View.List, CreateImageListNonEmpty(), 0, 0 }; 3230yield return new object[] { autoArrange, true, View.List, null, 0, 0 }; 3231yield return new object[] { autoArrange, true, View.List, new ImageList(), 0, 0 }; 3232yield return new object[] { autoArrange, true, View.List, CreateImageListNonEmpty(), 0, 0 }; 3241yield return new object[] { false, false, View.List, null, 0, 0 }; 3242yield return new object[] { false, false, View.List, new ImageList(), 0, 0 }; 3243yield return new object[] { false, false, View.List, CreateImageListNonEmpty(), 0, 0 }; 3326yield return new object[] { true, false, View.List, null, 0, 0 }; 3327yield return new object[] { true, false, View.List, new ImageList(), 0, 0 }; 3328yield return new object[] { true, false, View.List, CreateImageListNonEmpty(), 0, 0 }; 3341yield return new object[] { autoArrange, true, View.List, null, 0, 0 }; 3342yield return new object[] { autoArrange, true, View.List, new ImageList(), 0, 0 }; 3343yield return new object[] { autoArrange, true, View.List, CreateImageListNonEmpty(), 0, 0 }; 3352yield return new object[] { false, false, View.List, null, 0, 0 }; 3353yield return new object[] { false, false, View.List, new ImageList(), 0, 0 }; 3354yield return new object[] { false, false, View.List, CreateImageListNonEmpty(), 0, 0 }; 3507foreach (View view in new View[] { View.Details, View.LargeIcon, View.List, View.SmallIcon }) 3585yield return new object[] { true, checkBoxes, true, false, View.List, null, 0, 0 }; 3586yield return new object[] { true, checkBoxes, true, false, View.List, new ImageList(), 0, 0 }; 3587yield return new object[] { true, checkBoxes, true, false, View.List, CreateImageListNonEmpty(), 0, 0 }; 3600yield return new object[] { true, checkBoxes, autoArrange, true, View.List, null, 0, 0 }; 3601yield return new object[] { true, checkBoxes, autoArrange, true, View.List, new ImageList(), 0, 0 }; 3602yield return new object[] { true, checkBoxes, autoArrange, true, View.List, CreateImageListNonEmpty(), 0, 0 }; 3614yield return new object[] { true, checkBoxes, false, false, View.List, null, 0, 0 }; 3615yield return new object[] { true, checkBoxes, false, false, View.List, new ImageList(), 0, 0 }; 3616yield return new object[] { true, checkBoxes, false, false, View.List, CreateImageListNonEmpty(), 0, 0 }; 3637yield return new object[] { false, true, true, false, View.List, null, 0, 0 }; 3638yield return new object[] { false, true, true, false, View.List, new ImageList(), 1, 1 }; 3639yield return new object[] { false, true, true, false, View.List, CreateImageListNonEmpty(), 1, 1 }; 3652yield return new object[] { false, true, autoArrange, true, View.List, null, 0, 0 }; 3653yield return new object[] { false, true, autoArrange, true, View.List, new ImageList(), 1, 1 }; 3654yield return new object[] { false, true, autoArrange, true, View.List, CreateImageListNonEmpty(), 1, 1 }; 3666yield return new object[] { false, true, false, false, View.List, null, 0, 0 }; 3667yield return new object[] { false, true, false, false, View.List, new ImageList(), 1, 1 }; 3668yield return new object[] { false, true, false, false, View.List, CreateImageListNonEmpty(), 1, 1 }; 3680yield return new object[] { false, false, true, false, View.List, null, 0, 0 }; 3681yield return new object[] { false, false, true, false, View.List, new ImageList(), 0, 0 }; 3682yield return new object[] { false, false, true, false, View.List, CreateImageListNonEmpty(), 0, 0 }; 3698yield return new object[] { false, false, autoArrange, true, View.List, null, 0, 0 }; 3699yield return new object[] { false, false, autoArrange, true, View.List, new ImageList(), 0, 0 }; 3700yield return new object[] { false, false, autoArrange, true, View.List, CreateImageListNonEmpty(), 0, 0 }; 3712yield return new object[] { false, false, false, false, View.List, null, 0, 0 }; 3713yield return new object[] { false, false, false, false, View.List, new ImageList(), 0, 0 }; 3714yield return new object[] { false, false, false, false, View.List, CreateImageListNonEmpty(), 0, 0 }; 3770yield return new object[] { true, checkBoxes, true, false, View.List, null, 0, 0 }; 3771yield return new object[] { true, checkBoxes, true, false, View.List, new ImageList(), 0, 0 }; 3772yield return new object[] { true, checkBoxes, true, false, View.List, CreateImageListNonEmpty(), 0, 0 }; 3785yield return new object[] { true, checkBoxes, autoArrange, true, View.List, null, 0, 0 }; 3786yield return new object[] { true, checkBoxes, autoArrange, true, View.List, new ImageList(), 0, 0 }; 3787yield return new object[] { true, checkBoxes, autoArrange, true, View.List, CreateImageListNonEmpty(), 0, 0 }; 3799yield return new object[] { true, checkBoxes, false, false, View.List, null, 0, 0 }; 3800yield return new object[] { true, checkBoxes, false, false, View.List, new ImageList(), 0, 0 }; 3801yield return new object[] { true, checkBoxes, false, false, View.List, CreateImageListNonEmpty(), 0, 0 }; 3822yield return new object[] { false, true, true, false, View.List, null, 1, 1 }; 3823yield return new object[] { false, true, true, false, View.List, new ImageList(), 1, 1 }; 3824yield return new object[] { false, true, true, false, View.List, CreateImageListNonEmpty(), 1, 1 }; 3837yield return new object[] { false, true, autoArrange, true, View.List, null, 1, 1 }; 3838yield return new object[] { false, true, autoArrange, true, View.List, new ImageList(), 1, 1 }; 3839yield return new object[] { false, true, autoArrange, true, View.List, CreateImageListNonEmpty(), 1, 1 }; 3851yield return new object[] { false, true, false, false, View.List, null, 1, 1 }; 3852yield return new object[] { false, true, false, false, View.List, new ImageList(), 1, 1 }; 3853yield return new object[] { false, true, false, false, View.List, CreateImageListNonEmpty(), 1, 1 }; 3865yield return new object[] { false, false, true, false, View.List, null, 0, 0 }; 3866yield return new object[] { false, false, true, false, View.List, new ImageList(), 0, 0 }; 3867yield return new object[] { false, false, true, false, View.List, CreateImageListNonEmpty(), 0, 0 }; 3883yield return new object[] { false, false, autoArrange, true, View.List, null, 0, 0 }; 3884yield return new object[] { false, false, autoArrange, true, View.List, new ImageList(), 0, 0 }; 3885yield return new object[] { false, false, autoArrange, true, View.List, CreateImageListNonEmpty(), 0, 0 }; 3897yield return new object[] { false, false, false, false, View.List, null, 0, 0 }; 3898yield return new object[] { false, false, false, false, View.List, new ImageList(), 0, 0 }; 3899yield return new object[] { false, false, false, false, View.List, CreateImageListNonEmpty(), 0, 0 }; 5136[InlineData(View.List)] 5163[InlineData(View.List)] 5188[InlineData(View.List)] 6080protected override View View => View.List;