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