218 references to LargeIcon
Accessibility_Core_App (1)
CommonControl1.cs (1)
25
listView1.View = View.
LargeIcon
;
System.Windows.Forms (17)
System\Windows\Forms\Controls\ListView\ListView.cs (12)
56
private View _viewStyle = View.
LargeIcon
;
520
(value && (View == View.SmallIcon || View == View.
LargeIcon
) && IsHandleCreated))
1459
View = View.
LargeIcon
;
1509
if (View is View.
LargeIcon
or View.SmallIcon)
1712
if (_viewStyle is View.
LargeIcon
or View.SmallIcon or View.Tile)
1727
if (_viewStyle is View.
LargeIcon
or View.SmallIcon or View.Tile)
1795
[DefaultValue(View.
LargeIcon
)]
3211
if (View is not View.SmallIcon and not View.
LargeIcon
)
4241
View = View.
LargeIcon
;
4993
if (View is View.
LargeIcon
or View.SmallIcon)
5022
if (View == View.
LargeIcon
)
5582
if (!VirtualMode && IsHandleCreated && AutoArrange && (View == View.
LargeIcon
|| View == View.SmallIcon))
System\Windows\Forms\Controls\ListView\ListView.ListViewNativeItemCollection.cs (1)
274
_owner.View = View.
LargeIcon
;
System\Windows\Forms\Controls\ListView\ListViewItem.cs (2)
260
View.
LargeIcon
=> new ListViewItemLargeIconAccessibleObject(this),
529
case View.
LargeIcon
:
System\Windows\Forms\Controls\ListView\ListViewItem.IKeyboardToolTip.cs (1)
33
case View.
LargeIcon
:
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewItemLargeIconAccessibleObject.cs (1)
14
protected override View View => View.
LargeIcon
;
System.Windows.Forms.Tests (199)
System\Windows\Forms\AccessibleObjects\ListVIew.ListViewAccessibleObjectTests.cs (12)
1140
[InlineData(View.
LargeIcon
)]
1164
[InlineData(View.
LargeIcon
)]
1443
[InlineData(View.
LargeIcon
)]
1469
[InlineData(View.
LargeIcon
)]
1506
[InlineData(View.
LargeIcon
)]
1539
[InlineData(View.
LargeIcon
)]
1558
[InlineData(View.
LargeIcon
)]
1586
[InlineData(View.
LargeIcon
)]
1610
[InlineData(View.
LargeIcon
)]
1632
[InlineData(View.
LargeIcon
)]
1656
[InlineData(View.
LargeIcon
)]
1690
[InlineData(View.
LargeIcon
)]
System\Windows\Forms\AccessibleObjects\ListViewGroup.ListViewGroupAccessibleObjectTests.cs (14)
847
[InlineData(View.
LargeIcon
)]
871
[InlineData(View.
LargeIcon
)]
911
[InlineData(View.
LargeIcon
)]
940
[InlineData(View.
LargeIcon
)]
960
[InlineData(View.
LargeIcon
)]
986
[InlineData(View.
LargeIcon
)]
1011
[InlineData(View.
LargeIcon
)]
1030
[InlineData(View.
LargeIcon
)]
1054
[InlineData(View.
LargeIcon
)]
1081
[InlineData(View.
LargeIcon
)]
1102
[InlineData(View.
LargeIcon
)]
1128
[InlineData(View.
LargeIcon
)]
1185
[InlineData(View.
LargeIcon
)]
1206
[InlineData(View.
LargeIcon
)]
System\Windows\Forms\AccessibleObjects\ListViewItem.ListViewItemAccessibleObjectTests.cs (30)
286
foreach (View view in new View[] { View.List, View.
LargeIcon
, View.SmallIcon })
954
[InlineData(View.
LargeIcon
)]
972
[InlineData(View.
LargeIcon
)]
1007
[InlineData(View.
LargeIcon
)]
1275
[InlineData(View.
LargeIcon
)]
1332
[InlineData(View.
LargeIcon
)]
1390
[InlineData(View.
LargeIcon
)]
1530
[InlineData(View.
LargeIcon
)]
1560
[InlineData(View.
LargeIcon
)]
1575
[InlineData(View.
LargeIcon
)]
1634
[InlineData(View.
LargeIcon
)]
1652
[InlineData(View.
LargeIcon
)]
1666
case View.
LargeIcon
:
1714
case View.
LargeIcon
:
1731
[InlineData(View.Details, View.
LargeIcon
)]
1735
[InlineData(View.
LargeIcon
, View.Details)]
1736
[InlineData(View.
LargeIcon
, View.List)]
1737
[InlineData(View.
LargeIcon
, View.SmallIcon)]
1738
[InlineData(View.
LargeIcon
, View.Tile)]
1740
[InlineData(View.List, View.
LargeIcon
)]
1744
[InlineData(View.SmallIcon, View.
LargeIcon
)]
1748
[InlineData(View.Tile, View.
LargeIcon
)]
1764
[InlineData(View.Details, View.
LargeIcon
)]
1768
[InlineData(View.
LargeIcon
, View.Details)]
1769
[InlineData(View.
LargeIcon
, View.List)]
1770
[InlineData(View.
LargeIcon
, View.SmallIcon)]
1771
[InlineData(View.
LargeIcon
, View.Tile)]
1773
[InlineData(View.List, View.
LargeIcon
)]
1777
[InlineData(View.SmallIcon, View.
LargeIcon
)]
1781
[InlineData(View.Tile, View.
LargeIcon
)]
System\Windows\Forms\AccessibleObjects\ListViewItem.ListViewItemBaseAccessibleObjectTests.cs (2)
196
[InlineData(View.
LargeIcon
)]
214
[InlineData(View.
LargeIcon
)]
System\Windows\Forms\AccessibleObjects\ListViewItem.ListViewItemWithImageAccessibleObjectTests.cs (1)
135
View.
LargeIcon
,
System\Windows\Forms\AccessibleObjects\ListViewItem.ListViewSubItem.ListViewSubItemAccessibleObjectTests.cs (5)
97
[InlineData(View.
LargeIcon
)]
114
foreach (View view in new[] { View.List, View.
LargeIcon
, View.SmallIcon, View.Tile })
709
[InlineData(View.
LargeIcon
, true)]
710
[InlineData(View.
LargeIcon
, false)]
1027
[InlineData(View.
LargeIcon
)]
System\Windows\Forms\ListViewItem.IKeyboardToolTipTests.cs (10)
242
using var listView = GetListView(virtualMode: false, view: View.
LargeIcon
, size: new Size(150, 150));
260
using var listView = GetListView(virtualMode: false, view: View.
LargeIcon
, size: new Size(150, 150));
279
using var listView = GetListView(virtualMode: false, view: View.
LargeIcon
, size: new Size(150, 150));
297
using var listView = GetListView(virtualMode: false, view: View.
LargeIcon
, size: new Size(150, 150));
316
using var listView = GetListView(virtualMode: false, view: View.
LargeIcon
, size: new Size(150, 150));
336
using var listView = GetListView(virtualMode: false, view: View.
LargeIcon
, size: new Size(150, 150));
355
using var listView = GetListView(virtualMode: false, view: View.
LargeIcon
, size: new Size(150, 150));
373
using var listView = GetListView(virtualMode: false, view: View.
LargeIcon
, size: new Size(150, 150));
392
using var listView = GetListView(virtualMode: false, view: View.
LargeIcon
, size: new Size(150, 150));
808
View view = View.
LargeIcon
,
System\Windows\Forms\ListViewTests.cs (125)
147
Assert.Equal(View.
LargeIcon
, control.View);
804
yield return new object[] { useCompatibleStateImageBehavior, View.
LargeIcon
, alignment, imageListFactory(), value };
908
yield return new object[] { true, View.
LargeIcon
, alignment, imageListFactory(), true, 1, 0, 2, 0 };
912
yield return new object[] { true, View.
LargeIcon
, alignment, imageListFactory(), false, 0, 0, 1, 0 };
920
yield return new object[] { false, View.
LargeIcon
, alignment, null, true, 2, 1, 3, 1 };
924
yield return new object[] { false, View.
LargeIcon
, alignment, null, false, 0, 0, 2, 1 };
929
yield return new object[] { false, View.
LargeIcon
, alignment, new ImageList(), true, 2, 1, 4, 2 };
933
yield return new object[] { false, View.
LargeIcon
, alignment, new ImageList(), false, 0, 0, 2, 1 };
942
yield return new object[] { false, View.
LargeIcon
, ListViewAlignment.Left, imageListFactory(), true, 2, 1, 4, 2 };
946
yield return new object[] { false, View.
LargeIcon
, ListViewAlignment.Left, imageListFactory(), false, 0, 0, 2, 1 };
1541
foreach (View view in new View[] { View.Details, View.
LargeIcon
, View.List, View.SmallIcon })
1604
yield return new object[] { true, false, View.
LargeIcon
, null };
1605
yield return new object[] { true, false, View.
LargeIcon
, new ImageList() };
1606
yield return new object[] { true, false, View.
LargeIcon
, CreateImageListNonEmpty() };
1622
yield return new object[] { autoArrange, true, View.
LargeIcon
, null };
1623
yield return new object[] { autoArrange, true, View.
LargeIcon
, new ImageList() };
1624
yield return new object[] { autoArrange, true, View.
LargeIcon
, CreateImageListNonEmpty() };
1636
yield return new object[] { false, false, View.
LargeIcon
, null };
1637
yield return new object[] { false, false, View.
LargeIcon
, new ImageList() };
1638
yield return new object[] { false, false, View.
LargeIcon
, CreateImageListNonEmpty() };
1690
yield return new object[] { true, false, View.
LargeIcon
, null };
1691
yield return new object[] { true, false, View.
LargeIcon
, new ImageList() };
1692
yield return new object[] { true, false, View.
LargeIcon
, CreateImageListNonEmpty() };
1708
yield return new object[] { autoArrange, true, View.
LargeIcon
, null };
1709
yield return new object[] { autoArrange, true, View.
LargeIcon
, new ImageList() };
1710
yield return new object[] { autoArrange, true, View.
LargeIcon
, CreateImageListNonEmpty() };
1722
yield return new object[] { false, false, View.
LargeIcon
, null };
1723
yield return new object[] { false, false, View.
LargeIcon
, new ImageList() };
1724
yield return new object[] { false, false, View.
LargeIcon
, CreateImageListNonEmpty() };
2486
foreach (View view in new View[] { View.Details, View.
LargeIcon
, View.List, View.SmallIcon })
2548
yield return new object[] { true, false, View.
LargeIcon
, null, 0 };
2549
yield return new object[] { true, false, View.
LargeIcon
, new ImageList(), 1 };
2550
yield return new object[] { true, false, View.
LargeIcon
, CreateImageListNonEmpty(), 1 };
2566
yield return new object[] { autoArrange, true, View.
LargeIcon
, null, 0 };
2567
yield return new object[] { autoArrange, true, View.
LargeIcon
, new ImageList(), 0 };
2568
yield return new object[] { autoArrange, true, View.
LargeIcon
, CreateImageListNonEmpty(), 0 };
2580
yield return new object[] { false, false, View.
LargeIcon
, null, 0 };
2581
yield return new object[] { false, false, View.
LargeIcon
, new ImageList(), 0 };
2582
yield return new object[] { false, false, View.
LargeIcon
, CreateImageListNonEmpty(), 0 };
2633
yield return new object[] { true, false, View.
LargeIcon
, null, 1 };
2634
yield return new object[] { true, false, View.
LargeIcon
, new ImageList(), 1 };
2635
yield return new object[] { true, false, View.
LargeIcon
, CreateImageListNonEmpty(), 1 };
2651
yield return new object[] { autoArrange, true, View.
LargeIcon
, null, 0 };
2652
yield return new object[] { autoArrange, true, View.
LargeIcon
, new ImageList(), 0 };
2653
yield return new object[] { autoArrange, true, View.
LargeIcon
, CreateImageListNonEmpty(), 0 };
2665
yield return new object[] { false, false, View.
LargeIcon
, null, 0 };
2666
yield return new object[] { false, false, View.
LargeIcon
, new ImageList(), 0 };
2667
yield return new object[] { false, false, View.
LargeIcon
, CreateImageListNonEmpty(), 0 };
3150
foreach (View view in new View[] { View.Details, View.
LargeIcon
, View.List, View.SmallIcon })
3212
yield return new object[] { true, false, View.
LargeIcon
, null, 0, 0 };
3213
yield return new object[] { true, false, View.
LargeIcon
, new ImageList(), 1, 0 };
3214
yield return new object[] { true, false, View.
LargeIcon
, CreateImageListNonEmpty(), 1, 0 };
3227
yield return new object[] { autoArrange, true, View.
LargeIcon
, null, 0, 0 };
3228
yield return new object[] { autoArrange, true, View.
LargeIcon
, new ImageList(), 0, 0 };
3229
yield return new object[] { autoArrange, true, View.
LargeIcon
, CreateImageListNonEmpty(), 0, 0 };
3238
yield return new object[] { false, false, View.
LargeIcon
, null, 0, 0 };
3239
yield return new object[] { false, false, View.
LargeIcon
, new ImageList(), 0, 0 };
3240
yield return new object[] { false, false, View.
LargeIcon
, CreateImageListNonEmpty(), 0, 0 };
3323
yield return new object[] { true, false, View.
LargeIcon
, null, 1, 0 };
3324
yield return new object[] { true, false, View.
LargeIcon
, new ImageList(), 1, 0 };
3325
yield return new object[] { true, false, View.
LargeIcon
, CreateImageListNonEmpty(), 1, 0 };
3338
yield return new object[] { autoArrange, true, View.
LargeIcon
, null, 0, 0 };
3339
yield return new object[] { autoArrange, true, View.
LargeIcon
, new ImageList(), 0, 0 };
3340
yield return new object[] { autoArrange, true, View.
LargeIcon
, CreateImageListNonEmpty(), 0, 0 };
3349
yield return new object[] { false, false, View.
LargeIcon
, null, 0, 0 };
3350
yield return new object[] { false, false, View.
LargeIcon
, new ImageList(), 0, 0 };
3351
yield return new object[] { false, false, View.
LargeIcon
, CreateImageListNonEmpty(), 0, 0 };
3507
foreach (View view in new View[] { View.Details, View.
LargeIcon
, View.List, View.SmallIcon })
3582
yield return new object[] { true, checkBoxes, true, false, View.
LargeIcon
, null, 0, 0 };
3583
yield return new object[] { true, checkBoxes, true, false, View.
LargeIcon
, new ImageList(), 0, 0 };
3584
yield return new object[] { true, checkBoxes, true, false, View.
LargeIcon
, CreateImageListNonEmpty(), 0, 0 };
3597
yield return new object[] { true, checkBoxes, autoArrange, true, View.
LargeIcon
, null, 0, 0 };
3598
yield return new object[] { true, checkBoxes, autoArrange, true, View.
LargeIcon
, new ImageList(), 0, 0 };
3599
yield return new object[] { true, checkBoxes, autoArrange, true, View.
LargeIcon
, CreateImageListNonEmpty(), 0, 0 };
3611
yield return new object[] { true, checkBoxes, false, false, View.
LargeIcon
, null, 0, 0 };
3612
yield return new object[] { true, checkBoxes, false, false, View.
LargeIcon
, new ImageList(), 0, 0 };
3613
yield return new object[] { true, checkBoxes, false, false, View.
LargeIcon
, CreateImageListNonEmpty(), 0, 0 };
3634
yield return new object[] { false, true, true, false, View.
LargeIcon
, null, 0, 0 };
3635
yield return new object[] { false, true, true, false, View.
LargeIcon
, new ImageList(), 3, 1 };
3636
yield return new object[] { false, true, true, false, View.
LargeIcon
, CreateImageListNonEmpty(), 3, 1 };
3649
yield return new object[] { false, true, autoArrange, true, View.
LargeIcon
, null, 0, 0 };
3650
yield return new object[] { false, true, autoArrange, true, View.
LargeIcon
, new ImageList(), 1, 1 };
3651
yield return new object[] { false, true, autoArrange, true, View.
LargeIcon
, CreateImageListNonEmpty(), 1, 1 };
3663
yield return new object[] { false, true, false, false, View.
LargeIcon
, null, 0, 0 };
3664
yield return new object[] { false, true, false, false, View.
LargeIcon
, new ImageList(), 1, 1 };
3665
yield return new object[] { false, true, false, false, View.
LargeIcon
, CreateImageListNonEmpty(), 1, 1 };
3677
yield return new object[] { false, false, true, false, View.
LargeIcon
, null, 0, 0 };
3678
yield return new object[] { false, false, true, false, View.
LargeIcon
, new ImageList(), 1, 0 };
3679
yield return new object[] { false, false, true, false, View.
LargeIcon
, CreateImageListNonEmpty(), 1, 0 };
3695
yield return new object[] { false, false, autoArrange, true, View.
LargeIcon
, null, 0, 0 };
3696
yield return new object[] { false, false, autoArrange, true, View.
LargeIcon
, new ImageList(), 0, 0 };
3697
yield return new object[] { false, false, autoArrange, true, View.
LargeIcon
, CreateImageListNonEmpty(), 0, 0 };
3709
yield return new object[] { false, false, false, false, View.
LargeIcon
, null, 0, 0 };
3710
yield return new object[] { false, false, false, false, View.
LargeIcon
, new ImageList(), 0, 0 };
3711
yield return new object[] { false, false, false, false, View.
LargeIcon
, CreateImageListNonEmpty(), 0, 0 };
3767
yield return new object[] { true, checkBoxes, true, false, View.
LargeIcon
, null, 0, 0 };
3768
yield return new object[] { true, checkBoxes, true, false, View.
LargeIcon
, new ImageList(), 0, 0 };
3769
yield return new object[] { true, checkBoxes, true, false, View.
LargeIcon
, CreateImageListNonEmpty(), 0, 0 };
3782
yield return new object[] { true, checkBoxes, autoArrange, true, View.
LargeIcon
, null, 0, 0 };
3783
yield return new object[] { true, checkBoxes, autoArrange, true, View.
LargeIcon
, new ImageList(), 0, 0 };
3784
yield return new object[] { true, checkBoxes, autoArrange, true, View.
LargeIcon
, CreateImageListNonEmpty(), 0, 0 };
3796
yield return new object[] { true, checkBoxes, false, false, View.
LargeIcon
, null, 0, 0 };
3797
yield return new object[] { true, checkBoxes, false, false, View.
LargeIcon
, new ImageList(), 0, 0 };
3798
yield return new object[] { true, checkBoxes, false, false, View.
LargeIcon
, CreateImageListNonEmpty(), 0, 0 };
3819
yield return new object[] { false, true, true, false, View.
LargeIcon
, null, 3, 1 };
3820
yield return new object[] { false, true, true, false, View.
LargeIcon
, new ImageList(), 3, 1 };
3821
yield return new object[] { false, true, true, false, View.
LargeIcon
, CreateImageListNonEmpty(), 3, 1 };
3834
yield return new object[] { false, true, autoArrange, true, View.
LargeIcon
, null, 1, 1 };
3835
yield return new object[] { false, true, autoArrange, true, View.
LargeIcon
, new ImageList(), 1, 1 };
3836
yield return new object[] { false, true, autoArrange, true, View.
LargeIcon
, CreateImageListNonEmpty(), 1, 1 };
3848
yield return new object[] { false, true, false, false, View.
LargeIcon
, null, 1, 1 };
3849
yield return new object[] { false, true, false, false, View.
LargeIcon
, new ImageList(), 1, 1 };
3850
yield return new object[] { false, true, false, false, View.
LargeIcon
, CreateImageListNonEmpty(), 1, 1 };
3862
yield return new object[] { false, false, true, false, View.
LargeIcon
, null, 1, 0 };
3863
yield return new object[] { false, false, true, false, View.
LargeIcon
, new ImageList(), 1, 0 };
3864
yield return new object[] { false, false, true, false, View.
LargeIcon
, CreateImageListNonEmpty(), 1, 0 };
3880
yield return new object[] { false, false, autoArrange, true, View.
LargeIcon
, null, 0, 0 };
3881
yield return new object[] { false, false, autoArrange, true, View.
LargeIcon
, new ImageList(), 0, 0 };
3882
yield return new object[] { false, false, autoArrange, true, View.
LargeIcon
, CreateImageListNonEmpty(), 0, 0 };
3894
yield return new object[] { false, false, false, false, View.
LargeIcon
, null, 0, 0 };
3895
yield return new object[] { false, false, false, false, View.
LargeIcon
, new ImageList(), 0, 0 };
3896
yield return new object[] { false, false, false, false, View.
LargeIcon
, CreateImageListNonEmpty(), 0, 0 };
5135
[InlineData(View.
LargeIcon
)]
5162
[InlineData(View.
LargeIcon
)]
5187
[InlineData(View.
LargeIcon
)]
WinFormsControlsTest (1)
ListViewTest.cs (1)
237
listView1.View = View.
LargeIcon
;