218 references to LargeIcon
Accessibility_Core_App (1)
CommonControl1.cs (1)
25listView1.View = View.LargeIcon;
System.Windows.Forms (17)
System\Windows\Forms\Controls\ListView\ListView.cs (12)
56private View _viewStyle = View.LargeIcon; 520(value && (View == View.SmallIcon || View == View.LargeIcon) && IsHandleCreated)) 1459View = View.LargeIcon; 1509if (View is View.LargeIcon or View.SmallIcon) 1712if (_viewStyle is View.LargeIcon or View.SmallIcon or View.Tile) 1727if (_viewStyle is View.LargeIcon or View.SmallIcon or View.Tile) 1795[DefaultValue(View.LargeIcon)] 3211if (View is not View.SmallIcon and not View.LargeIcon) 4241View = View.LargeIcon; 4993if (View is View.LargeIcon or View.SmallIcon) 5022if (View == View.LargeIcon) 5582if (!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)
260View.LargeIcon => new ListViewItemLargeIconAccessibleObject(this), 529case View.LargeIcon:
System\Windows\Forms\Controls\ListView\ListViewItem.IKeyboardToolTip.cs (1)
33case View.LargeIcon:
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewItemLargeIconAccessibleObject.cs (1)
14protected 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)
286foreach (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)] 1666case View.LargeIcon: 1714case 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)
135View.LargeIcon,
System\Windows\Forms\AccessibleObjects\ListViewItem.ListViewSubItem.ListViewSubItemAccessibleObjectTests.cs (5)
97[InlineData(View.LargeIcon)] 114foreach (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)
242using var listView = GetListView(virtualMode: false, view: View.LargeIcon, size: new Size(150, 150)); 260using var listView = GetListView(virtualMode: false, view: View.LargeIcon, size: new Size(150, 150)); 279using var listView = GetListView(virtualMode: false, view: View.LargeIcon, size: new Size(150, 150)); 297using var listView = GetListView(virtualMode: false, view: View.LargeIcon, size: new Size(150, 150)); 316using var listView = GetListView(virtualMode: false, view: View.LargeIcon, size: new Size(150, 150)); 336using var listView = GetListView(virtualMode: false, view: View.LargeIcon, size: new Size(150, 150)); 355using var listView = GetListView(virtualMode: false, view: View.LargeIcon, size: new Size(150, 150)); 373using var listView = GetListView(virtualMode: false, view: View.LargeIcon, size: new Size(150, 150)); 392using var listView = GetListView(virtualMode: false, view: View.LargeIcon, size: new Size(150, 150)); 808View view = View.LargeIcon,
System\Windows\Forms\ListViewTests.cs (125)
147Assert.Equal(View.LargeIcon, control.View); 804yield return new object[] { useCompatibleStateImageBehavior, View.LargeIcon, alignment, imageListFactory(), value }; 908yield return new object[] { true, View.LargeIcon, alignment, imageListFactory(), true, 1, 0, 2, 0 }; 912yield return new object[] { true, View.LargeIcon, alignment, imageListFactory(), false, 0, 0, 1, 0 }; 920yield return new object[] { false, View.LargeIcon, alignment, null, true, 2, 1, 3, 1 }; 924yield return new object[] { false, View.LargeIcon, alignment, null, false, 0, 0, 2, 1 }; 929yield return new object[] { false, View.LargeIcon, alignment, new ImageList(), true, 2, 1, 4, 2 }; 933yield return new object[] { false, View.LargeIcon, alignment, new ImageList(), false, 0, 0, 2, 1 }; 942yield return new object[] { false, View.LargeIcon, ListViewAlignment.Left, imageListFactory(), true, 2, 1, 4, 2 }; 946yield return new object[] { false, View.LargeIcon, ListViewAlignment.Left, imageListFactory(), false, 0, 0, 2, 1 }; 1541foreach (View view in new View[] { View.Details, View.LargeIcon, View.List, View.SmallIcon }) 1604yield return new object[] { true, false, View.LargeIcon, null }; 1605yield return new object[] { true, false, View.LargeIcon, new ImageList() }; 1606yield return new object[] { true, false, View.LargeIcon, CreateImageListNonEmpty() }; 1622yield return new object[] { autoArrange, true, View.LargeIcon, null }; 1623yield return new object[] { autoArrange, true, View.LargeIcon, new ImageList() }; 1624yield return new object[] { autoArrange, true, View.LargeIcon, CreateImageListNonEmpty() }; 1636yield return new object[] { false, false, View.LargeIcon, null }; 1637yield return new object[] { false, false, View.LargeIcon, new ImageList() }; 1638yield return new object[] { false, false, View.LargeIcon, CreateImageListNonEmpty() }; 1690yield return new object[] { true, false, View.LargeIcon, null }; 1691yield return new object[] { true, false, View.LargeIcon, new ImageList() }; 1692yield return new object[] { true, false, View.LargeIcon, CreateImageListNonEmpty() }; 1708yield return new object[] { autoArrange, true, View.LargeIcon, null }; 1709yield return new object[] { autoArrange, true, View.LargeIcon, new ImageList() }; 1710yield return new object[] { autoArrange, true, View.LargeIcon, CreateImageListNonEmpty() }; 1722yield return new object[] { false, false, View.LargeIcon, null }; 1723yield return new object[] { false, false, View.LargeIcon, new ImageList() }; 1724yield return new object[] { false, false, View.LargeIcon, CreateImageListNonEmpty() }; 2486foreach (View view in new View[] { View.Details, View.LargeIcon, View.List, View.SmallIcon }) 2548yield return new object[] { true, false, View.LargeIcon, null, 0 }; 2549yield return new object[] { true, false, View.LargeIcon, new ImageList(), 1 }; 2550yield return new object[] { true, false, View.LargeIcon, CreateImageListNonEmpty(), 1 }; 2566yield return new object[] { autoArrange, true, View.LargeIcon, null, 0 }; 2567yield return new object[] { autoArrange, true, View.LargeIcon, new ImageList(), 0 }; 2568yield return new object[] { autoArrange, true, View.LargeIcon, CreateImageListNonEmpty(), 0 }; 2580yield return new object[] { false, false, View.LargeIcon, null, 0 }; 2581yield return new object[] { false, false, View.LargeIcon, new ImageList(), 0 }; 2582yield return new object[] { false, false, View.LargeIcon, CreateImageListNonEmpty(), 0 }; 2633yield return new object[] { true, false, View.LargeIcon, null, 1 }; 2634yield return new object[] { true, false, View.LargeIcon, new ImageList(), 1 }; 2635yield return new object[] { true, false, View.LargeIcon, CreateImageListNonEmpty(), 1 }; 2651yield return new object[] { autoArrange, true, View.LargeIcon, null, 0 }; 2652yield return new object[] { autoArrange, true, View.LargeIcon, new ImageList(), 0 }; 2653yield return new object[] { autoArrange, true, View.LargeIcon, CreateImageListNonEmpty(), 0 }; 2665yield return new object[] { false, false, View.LargeIcon, null, 0 }; 2666yield return new object[] { false, false, View.LargeIcon, new ImageList(), 0 }; 2667yield return new object[] { false, false, View.LargeIcon, CreateImageListNonEmpty(), 0 }; 3150foreach (View view in new View[] { View.Details, View.LargeIcon, View.List, View.SmallIcon }) 3212yield return new object[] { true, false, View.LargeIcon, null, 0, 0 }; 3213yield return new object[] { true, false, View.LargeIcon, new ImageList(), 1, 0 }; 3214yield return new object[] { true, false, View.LargeIcon, CreateImageListNonEmpty(), 1, 0 }; 3227yield return new object[] { autoArrange, true, View.LargeIcon, null, 0, 0 }; 3228yield return new object[] { autoArrange, true, View.LargeIcon, new ImageList(), 0, 0 }; 3229yield return new object[] { autoArrange, true, View.LargeIcon, CreateImageListNonEmpty(), 0, 0 }; 3238yield return new object[] { false, false, View.LargeIcon, null, 0, 0 }; 3239yield return new object[] { false, false, View.LargeIcon, new ImageList(), 0, 0 }; 3240yield return new object[] { false, false, View.LargeIcon, CreateImageListNonEmpty(), 0, 0 }; 3323yield return new object[] { true, false, View.LargeIcon, null, 1, 0 }; 3324yield return new object[] { true, false, View.LargeIcon, new ImageList(), 1, 0 }; 3325yield return new object[] { true, false, View.LargeIcon, CreateImageListNonEmpty(), 1, 0 }; 3338yield return new object[] { autoArrange, true, View.LargeIcon, null, 0, 0 }; 3339yield return new object[] { autoArrange, true, View.LargeIcon, new ImageList(), 0, 0 }; 3340yield return new object[] { autoArrange, true, View.LargeIcon, CreateImageListNonEmpty(), 0, 0 }; 3349yield return new object[] { false, false, View.LargeIcon, null, 0, 0 }; 3350yield return new object[] { false, false, View.LargeIcon, new ImageList(), 0, 0 }; 3351yield return new object[] { false, false, View.LargeIcon, CreateImageListNonEmpty(), 0, 0 }; 3507foreach (View view in new View[] { View.Details, View.LargeIcon, View.List, View.SmallIcon }) 3582yield return new object[] { true, checkBoxes, true, false, View.LargeIcon, null, 0, 0 }; 3583yield return new object[] { true, checkBoxes, true, false, View.LargeIcon, new ImageList(), 0, 0 }; 3584yield return new object[] { true, checkBoxes, true, false, View.LargeIcon, CreateImageListNonEmpty(), 0, 0 }; 3597yield return new object[] { true, checkBoxes, autoArrange, true, View.LargeIcon, null, 0, 0 }; 3598yield return new object[] { true, checkBoxes, autoArrange, true, View.LargeIcon, new ImageList(), 0, 0 }; 3599yield return new object[] { true, checkBoxes, autoArrange, true, View.LargeIcon, CreateImageListNonEmpty(), 0, 0 }; 3611yield return new object[] { true, checkBoxes, false, false, View.LargeIcon, null, 0, 0 }; 3612yield return new object[] { true, checkBoxes, false, false, View.LargeIcon, new ImageList(), 0, 0 }; 3613yield return new object[] { true, checkBoxes, false, false, View.LargeIcon, CreateImageListNonEmpty(), 0, 0 }; 3634yield return new object[] { false, true, true, false, View.LargeIcon, null, 0, 0 }; 3635yield return new object[] { false, true, true, false, View.LargeIcon, new ImageList(), 3, 1 }; 3636yield return new object[] { false, true, true, false, View.LargeIcon, CreateImageListNonEmpty(), 3, 1 }; 3649yield return new object[] { false, true, autoArrange, true, View.LargeIcon, null, 0, 0 }; 3650yield return new object[] { false, true, autoArrange, true, View.LargeIcon, new ImageList(), 1, 1 }; 3651yield return new object[] { false, true, autoArrange, true, View.LargeIcon, CreateImageListNonEmpty(), 1, 1 }; 3663yield return new object[] { false, true, false, false, View.LargeIcon, null, 0, 0 }; 3664yield return new object[] { false, true, false, false, View.LargeIcon, new ImageList(), 1, 1 }; 3665yield return new object[] { false, true, false, false, View.LargeIcon, CreateImageListNonEmpty(), 1, 1 }; 3677yield return new object[] { false, false, true, false, View.LargeIcon, null, 0, 0 }; 3678yield return new object[] { false, false, true, false, View.LargeIcon, new ImageList(), 1, 0 }; 3679yield return new object[] { false, false, true, false, View.LargeIcon, CreateImageListNonEmpty(), 1, 0 }; 3695yield return new object[] { false, false, autoArrange, true, View.LargeIcon, null, 0, 0 }; 3696yield return new object[] { false, false, autoArrange, true, View.LargeIcon, new ImageList(), 0, 0 }; 3697yield return new object[] { false, false, autoArrange, true, View.LargeIcon, CreateImageListNonEmpty(), 0, 0 }; 3709yield return new object[] { false, false, false, false, View.LargeIcon, null, 0, 0 }; 3710yield return new object[] { false, false, false, false, View.LargeIcon, new ImageList(), 0, 0 }; 3711yield return new object[] { false, false, false, false, View.LargeIcon, CreateImageListNonEmpty(), 0, 0 }; 3767yield return new object[] { true, checkBoxes, true, false, View.LargeIcon, null, 0, 0 }; 3768yield return new object[] { true, checkBoxes, true, false, View.LargeIcon, new ImageList(), 0, 0 }; 3769yield return new object[] { true, checkBoxes, true, false, View.LargeIcon, CreateImageListNonEmpty(), 0, 0 }; 3782yield return new object[] { true, checkBoxes, autoArrange, true, View.LargeIcon, null, 0, 0 }; 3783yield return new object[] { true, checkBoxes, autoArrange, true, View.LargeIcon, new ImageList(), 0, 0 }; 3784yield return new object[] { true, checkBoxes, autoArrange, true, View.LargeIcon, CreateImageListNonEmpty(), 0, 0 }; 3796yield return new object[] { true, checkBoxes, false, false, View.LargeIcon, null, 0, 0 }; 3797yield return new object[] { true, checkBoxes, false, false, View.LargeIcon, new ImageList(), 0, 0 }; 3798yield return new object[] { true, checkBoxes, false, false, View.LargeIcon, CreateImageListNonEmpty(), 0, 0 }; 3819yield return new object[] { false, true, true, false, View.LargeIcon, null, 3, 1 }; 3820yield return new object[] { false, true, true, false, View.LargeIcon, new ImageList(), 3, 1 }; 3821yield return new object[] { false, true, true, false, View.LargeIcon, CreateImageListNonEmpty(), 3, 1 }; 3834yield return new object[] { false, true, autoArrange, true, View.LargeIcon, null, 1, 1 }; 3835yield return new object[] { false, true, autoArrange, true, View.LargeIcon, new ImageList(), 1, 1 }; 3836yield return new object[] { false, true, autoArrange, true, View.LargeIcon, CreateImageListNonEmpty(), 1, 1 }; 3848yield return new object[] { false, true, false, false, View.LargeIcon, null, 1, 1 }; 3849yield return new object[] { false, true, false, false, View.LargeIcon, new ImageList(), 1, 1 }; 3850yield return new object[] { false, true, false, false, View.LargeIcon, CreateImageListNonEmpty(), 1, 1 }; 3862yield return new object[] { false, false, true, false, View.LargeIcon, null, 1, 0 }; 3863yield return new object[] { false, false, true, false, View.LargeIcon, new ImageList(), 1, 0 }; 3864yield return new object[] { false, false, true, false, View.LargeIcon, CreateImageListNonEmpty(), 1, 0 }; 3880yield return new object[] { false, false, autoArrange, true, View.LargeIcon, null, 0, 0 }; 3881yield return new object[] { false, false, autoArrange, true, View.LargeIcon, new ImageList(), 0, 0 }; 3882yield return new object[] { false, false, autoArrange, true, View.LargeIcon, CreateImageListNonEmpty(), 0, 0 }; 3894yield return new object[] { false, false, false, false, View.LargeIcon, null, 0, 0 }; 3895yield return new object[] { false, false, false, false, View.LargeIcon, new ImageList(), 0, 0 }; 3896yield 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)
237listView1.View = View.LargeIcon;