208 references to Tile
System.Windows.Forms (31)
System\Windows\Forms\Controls\ListView\ListView.ColumnHeaderCollection.cs (3)
311if (_owner.View == View.Tile) 505if (_owner.IsHandleCreated && _owner.View != View.Tile) 559if (_owner.IsHandleCreated && _owner.View == View.Tile)
System\Windows\Forms\Controls\ListView\ListView.cs (17)
453if (value && View == View.Tile) 498if (value && View == View.Tile) 719if (_viewStyle != View.Tile) 1614internal bool SupportsListViewSubItems => View == View.Details || (View == View.Tile && Application.ComCtlSupportsVisualStyles); 1712if (_viewStyle is View.LargeIcon or View.SmallIcon or View.Tile) 1727if (_viewStyle is View.LargeIcon or View.SmallIcon or View.Tile) 1809if (value == View.Tile && CheckBoxes) 1819if (value == View.Tile && VirtualMode) 1833if (_viewStyle == View.Tile) 1931if (value && View == View.Tile) 2670if (_viewStyle is View.Details or View.Tile) 3643if (View == View.Tile) 3822int idx = IsHandleCreated && View != View.Tile ? InsertColumnNative(index, ch) : index; 3858if (ch.ActualImageIndex_Internal != -1 && IsHandleCreated && View != View.Tile) 3889if (IsHandleCreated && View == View.Tile) 4586if (_viewStyle == View.Tile) 5797Debug.Assert(_viewStyle == View.Tile, "this function should be called only in Tile view");
System\Windows\Forms\Controls\ListView\ListView.ListViewAccessibleObject.cs (1)
321View.Tile => hitTestInfo.SubItem.Index > 0 ? hitTestInfo.SubItem.AccessibilityObject : itemAccessibleObject,
System\Windows\Forms\Controls\ListView\ListViewItem.cs (2)
263View.Tile => new ListViewItemTileAccessibleObject(this), 530case View.Tile:
System\Windows\Forms\Controls\ListView\ListViewItem.IKeyboardToolTip.cs (1)
102View.Tile => GetTileRectangle(point, item, itemBounds),
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewItemTileAccessibleObject.cs (5)
18protected override View View => View.Tile; 40if (_owningListView.View != View.Tile) 42throw new InvalidOperationException(string.Format(SR.ListViewItemAccessibilityObjectInvalidViewException, nameof(View.Tile))); 66if (_owningListView.View != View.Tile) 68throw new InvalidOperationException(string.Format(SR.ListViewItemAccessibilityObjectInvalidViewException, nameof(View.Tile)));
System\Windows\Forms\Controls\ListView\ListViewLabelEditAccessibleObject.cs (2)
40: target.View == View.Tile 58=> _owningListView.TryGetTarget(out ListView? target) && target.View == View.Tile ? target._selectedItem?.SubItems[1].AccessibilityObject : null,
System.Windows.Forms.Tests (174)
System\Windows\Forms\AccessibleObjects\ListVIew.ListViewAccessibleObjectTests.cs (17)
235if (view == View.Tile && virtualMode) 319if (view == View.Tile && virtualMode) 484if (view == View.Tile && virtualMode) 989if (view == View.Tile) 1143[InlineData(View.Tile)] 1167[InlineData(View.Tile)] 1239if (virtualMode && view == View.Tile) 1445[InlineData(View.Tile)] 1471[InlineData(View.Tile)] 1508[InlineData(View.Tile)] 1541[InlineData(View.Tile)] 1560[InlineData(View.Tile)] 1588[InlineData(View.Tile)] 1612[InlineData(View.Tile)] 1634[InlineData(View.Tile)] 1658[InlineData(View.Tile)] 1692[InlineData(View.Tile)]
System\Windows\Forms\AccessibleObjects\ListViewGroup.ListViewGroupAccessibleObjectTests.cs (17)
538if (view == View.Tile) 560if (virtualMode && view == View.Tile) 637if (virtualMode && view == View.Tile) 849[InlineData(View.Tile)] 873[InlineData(View.Tile)] 913[InlineData(View.Tile)] 942[InlineData(View.Tile)] 962[InlineData(View.Tile)] 988[InlineData(View.Tile)] 1013[InlineData(View.Tile)] 1032[InlineData(View.Tile)] 1056[InlineData(View.Tile)] 1083[InlineData(View.Tile)] 1104[InlineData(View.Tile)] 1130[InlineData(View.Tile)] 1187[InlineData(View.Tile)] 1208[InlineData(View.Tile)]
System\Windows\Forms\AccessibleObjects\ListViewItem.ListViewItemAccessibleObjectTests.cs (39)
125if (view == View.Tile && virtualMode) 177if (view == View.Tile && virtualMode) 326using ListView listView = GetListViewWithData(View.Tile, createControl, virtualMode: false, showGroups); 414using ListView listView = GetListViewWithData(View.Tile, createControl, virtualMode: false, showGroups); 539if (view == View.Tile) 672if (view == View.Tile) 735if (virtualMode && view == View.Tile) 809if (view == View.Tile) 860if (view == View.Tile) 956[InlineData(View.Tile)] 974[InlineData(View.Tile)] 1009[InlineData(View.Tile)] 1277[InlineData(View.Tile)] 1334[InlineData(View.Tile)] 1392[InlineData(View.Tile)] 1533[InlineData(View.Tile)] 1563[InlineData(View.Tile)] 1578[InlineData(View.Tile)] 1637[InlineData(View.Tile)] 1655[InlineData(View.Tile)] 1675case View.Tile: 1723case View.Tile: 1734[InlineData(View.Details, View.Tile)] 1738[InlineData(View.LargeIcon, View.Tile)] 1742[InlineData(View.List, View.Tile)] 1746[InlineData(View.SmallIcon, View.Tile)] 1747[InlineData(View.Tile, View.Details)] 1748[InlineData(View.Tile, View.LargeIcon)] 1749[InlineData(View.Tile, View.List)] 1750[InlineData(View.Tile, View.SmallIcon)] 1767[InlineData(View.Details, View.Tile)] 1771[InlineData(View.LargeIcon, View.Tile)] 1775[InlineData(View.List, View.Tile)] 1779[InlineData(View.SmallIcon, View.Tile)] 1780[InlineData(View.Tile, View.Details)] 1781[InlineData(View.Tile, View.LargeIcon)] 1782[InlineData(View.Tile, View.List)] 1783[InlineData(View.Tile, View.SmallIcon)] 1805if (virtualMode && view == View.Tile)
System\Windows\Forms\AccessibleObjects\ListViewItem.ListViewItemBaseAccessibleObjectTests.cs (2)
193[InlineData(View.Tile)] 211[InlineData(View.Tile)]
System\Windows\Forms\AccessibleObjects\ListViewItem.ListViewSubItem.ListViewSubItemAccessibleObjectTests.cs (7)
100[InlineData(View.Tile)] 114foreach (View view in new[] { View.List, View.LargeIcon, View.SmallIcon, View.Tile }) 121if (view == View.Tile && virtualMode) 323using ListView listView = GetListViewWithSubItemData(View.Tile, createControl, virtualMode: false, showGroups, columnCount: 3, subItemCount: 2); 715[InlineData(View.Tile, true)] 716[InlineData(View.Tile, false)] 1030[InlineData(View.Tile)]
System\Windows\Forms\ColumnHeaderCollectionTests.cs (3)
479View = View.Tile 504View = View.Tile 1006View = View.Tile
System\Windows\Forms\ListViewItem.IKeyboardToolTipTests.cs (3)
180using var listView = GetListView(virtualMode: false, view: View.Tile); 196using var listView = GetListView(virtualMode: false, view: View.Tile); 228using var listView = GetListView(virtualMode: false, view: View.Tile);
System\Windows\Forms\ListViewTests.cs (86)
1082View = View.Tile 1549yield return new object[] { autoArrange, false, View.Tile, null }; 1550yield return new object[] { autoArrange, false, View.Tile, new ImageList() }; 1551yield return new object[] { autoArrange, false, View.Tile, CreateImageListNonEmpty() }; 1613yield return new object[] { true, false, View.Tile, null }; 1614yield return new object[] { true, false, View.Tile, new ImageList() }; 1615yield return new object[] { true, false, View.Tile, CreateImageListNonEmpty() }; 1645yield return new object[] { false, false, View.Tile, null }; 1646yield return new object[] { false, false, View.Tile, new ImageList() }; 1647yield return new object[] { false, false, View.Tile, CreateImageListNonEmpty() }; 1699yield return new object[] { true, false, View.Tile, null }; 1700yield return new object[] { true, false, View.Tile, new ImageList() }; 1701yield return new object[] { true, false, View.Tile, CreateImageListNonEmpty() }; 1731yield return new object[] { false, false, View.Tile, null }; 1732yield return new object[] { false, false, View.Tile, new ImageList() }; 1733yield return new object[] { false, false, View.Tile, CreateImageListNonEmpty() }; 2494yield return new object[] { autoArrange, false, View.Tile, null }; 2495yield return new object[] { autoArrange, false, View.Tile, new ImageList() }; 2496yield return new object[] { autoArrange, false, View.Tile, CreateImageListNonEmpty() }; 2557yield return new object[] { true, false, View.Tile, null, 0 }; 2558yield return new object[] { true, false, View.Tile, new ImageList(), 0 }; 2559yield return new object[] { true, false, View.Tile, CreateImageListNonEmpty(), 0 }; 2589yield return new object[] { false, false, View.Tile, null, 0 }; 2590yield return new object[] { false, false, View.Tile, new ImageList(), 0 }; 2591yield return new object[] { false, false, View.Tile, CreateImageListNonEmpty(), 0 }; 2642yield return new object[] { true, false, View.Tile, null, 0 }; 2643yield return new object[] { true, false, View.Tile, new ImageList(), 0 }; 2644yield return new object[] { true, false, View.Tile, CreateImageListNonEmpty(), 0 }; 2674yield return new object[] { false, false, View.Tile, null, 0 }; 2675yield return new object[] { false, false, View.Tile, new ImageList(), 0 }; 2676yield return new object[] { false, false, View.Tile, CreateImageListNonEmpty(), 0 }; 3158yield return new object[] { autoArrange, false, View.Tile, null }; 3159yield return new object[] { autoArrange, false, View.Tile, new ImageList() }; 3160yield return new object[] { autoArrange, false, View.Tile, CreateImageListNonEmpty() }; 3218yield return new object[] { true, false, View.Tile, null, 0, 0 }; 3219yield return new object[] { true, false, View.Tile, new ImageList(), 0, 0 }; 3220yield return new object[] { true, false, View.Tile, CreateImageListNonEmpty(), 0, 0 }; 3244yield return new object[] { false, false, View.Tile, null, 0, 0 }; 3245yield return new object[] { false, false, View.Tile, new ImageList(), 0, 0 }; 3246yield return new object[] { false, false, View.Tile, CreateImageListNonEmpty(), 0, 0 }; 3329yield return new object[] { true, false, View.Tile, null, 0, 0 }; 3330yield return new object[] { true, false, View.Tile, new ImageList(), 0, 0 }; 3331yield return new object[] { true, false, View.Tile, CreateImageListNonEmpty(), 0, 0 }; 3355yield return new object[] { false, false, View.Tile, null, 0, 0 }; 3356yield return new object[] { false, false, View.Tile, new ImageList(), 0, 0 }; 3357yield return new object[] { false, false, View.Tile, CreateImageListNonEmpty(), 0, 0 }; 3517yield return new object[] { useCompatibleStateImageBehavior, false, true, false, View.Tile, null }; 3518yield return new object[] { useCompatibleStateImageBehavior, false, true, false, View.Tile, new ImageList() }; 3519yield return new object[] { useCompatibleStateImageBehavior, false, true, false, View.Tile, CreateImageListNonEmpty() }; 3521yield return new object[] { useCompatibleStateImageBehavior, false, false, false, View.Tile, null }; 3522yield return new object[] { useCompatibleStateImageBehavior, false, false, false, View.Tile, new ImageList() }; 3523yield return new object[] { useCompatibleStateImageBehavior, false, false, false, View.Tile, CreateImageListNonEmpty() }; 3622yield return new object[] { true, false, true, false, View.Tile, null, 0, 0 }; 3623yield return new object[] { true, false, true, false, View.Tile, new ImageList(), 0, 0 }; 3624yield return new object[] { true, false, true, false, View.Tile, CreateImageListNonEmpty(), 0, 0 }; 3626yield return new object[] { true, false, false, false, View.Tile, null, 0, 0 }; 3627yield return new object[] { true, false, false, false, View.Tile, new ImageList(), 0, 0 }; 3628yield return new object[] { true, false, false, false, View.Tile, CreateImageListNonEmpty(), 0, 0 }; 3686yield return new object[] { false, false, true, false, View.Tile, null, 0, 0 }; 3687yield return new object[] { false, false, true, false, View.Tile, new ImageList(), 0, 0 }; 3688yield return new object[] { false, false, true, false, View.Tile, CreateImageListNonEmpty(), 0, 0 }; 3718yield return new object[] { false, false, false, false, View.Tile, null, 0, 0 }; 3719yield return new object[] { false, false, false, false, View.Tile, new ImageList(), 0, 0 }; 3720yield return new object[] { false, false, false, false, View.Tile, CreateImageListNonEmpty(), 0, 0 }; 3807yield return new object[] { true, false, true, false, View.Tile, null, 0, 0 }; 3808yield return new object[] { true, false, true, false, View.Tile, new ImageList(), 0, 0 }; 3809yield return new object[] { true, false, true, false, View.Tile, CreateImageListNonEmpty(), 0, 0 }; 3811yield return new object[] { true, false, false, false, View.Tile, null, 0, 0 }; 3812yield return new object[] { true, false, false, false, View.Tile, new ImageList(), 0, 0 }; 3813yield return new object[] { true, false, false, false, View.Tile, CreateImageListNonEmpty(), 0, 0 }; 3871yield return new object[] { false, false, true, false, View.Tile, null, 0, 0 }; 3872yield return new object[] { false, false, true, false, View.Tile, new ImageList(), 0, 0 }; 3873yield return new object[] { false, false, true, false, View.Tile, CreateImageListNonEmpty(), 0, 0 }; 3903yield return new object[] { false, false, false, false, View.Tile, null, 0, 0 }; 3904yield return new object[] { false, false, false, false, View.Tile, new ImageList(), 0, 0 }; 3905yield return new object[] { false, false, false, false, View.Tile, CreateImageListNonEmpty(), 0, 0 }; 4351if (view == View.Tile) 4446if (view == View.Tile) 4691if (virtualMode && view == View.Tile) 4757if (virtualMode && view == View.Tile) 5138[InlineData(View.Tile)] 5165[InlineData(View.Tile)] 5190[InlineData(View.Tile)] 5324if (view == View.Tile) 5370if (view == View.Tile) 5510if (view == View.Tile)
System.Windows.Forms.UI.IntegrationTests (1)
ListViewTests.cs (1)
548listView.View = View.Tile;
TrimTestBinaryDeserialization (1)
Form1.Designer.cs (1)
54listView1.View = View.Tile;
WinFormsControlsTest (1)
ListViewTest.cs (1)
16listView1.View = View.Tile;