208 references to Tile
System.Windows.Forms (31)
System\Windows\Forms\Controls\ListView\ListView.ColumnHeaderCollection.cs (3)
311
if (_owner.View == View.
Tile
)
505
if (_owner.IsHandleCreated && _owner.View != View.
Tile
)
559
if (_owner.IsHandleCreated && _owner.View == View.
Tile
)
System\Windows\Forms\Controls\ListView\ListView.cs (17)
453
if (value && View == View.
Tile
)
498
if (value && View == View.
Tile
)
719
if (_viewStyle != View.
Tile
)
1614
internal bool SupportsListViewSubItems => View == View.Details || (View == View.
Tile
&& Application.ComCtlSupportsVisualStyles);
1712
if (_viewStyle is View.LargeIcon or View.SmallIcon or View.
Tile
)
1727
if (_viewStyle is View.LargeIcon or View.SmallIcon or View.
Tile
)
1809
if (value == View.
Tile
&& CheckBoxes)
1819
if (value == View.
Tile
&& VirtualMode)
1833
if (_viewStyle == View.
Tile
)
1931
if (value && View == View.
Tile
)
2670
if (_viewStyle is View.Details or View.
Tile
)
3643
if (View == View.
Tile
)
3822
int idx = IsHandleCreated && View != View.
Tile
? InsertColumnNative(index, ch) : index;
3858
if (ch.ActualImageIndex_Internal != -1 && IsHandleCreated && View != View.
Tile
)
3889
if (IsHandleCreated && View == View.
Tile
)
4586
if (_viewStyle == View.
Tile
)
5797
Debug.Assert(_viewStyle == View.
Tile
, "this function should be called only in Tile view");
System\Windows\Forms\Controls\ListView\ListView.ListViewAccessibleObject.cs (1)
321
View.
Tile
=> hitTestInfo.SubItem.Index > 0 ? hitTestInfo.SubItem.AccessibilityObject : itemAccessibleObject,
System\Windows\Forms\Controls\ListView\ListViewItem.cs (2)
263
View.
Tile
=> new ListViewItemTileAccessibleObject(this),
530
case View.
Tile
:
System\Windows\Forms\Controls\ListView\ListViewItem.IKeyboardToolTip.cs (1)
102
View.
Tile
=> GetTileRectangle(point, item, itemBounds),
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewItemTileAccessibleObject.cs (5)
18
protected override View View => View.
Tile
;
40
if (_owningListView.View != View.
Tile
)
42
throw new InvalidOperationException(string.Format(SR.ListViewItemAccessibilityObjectInvalidViewException, nameof(View.
Tile
)));
66
if (_owningListView.View != View.
Tile
)
68
throw 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)
235
if (view == View.
Tile
&& virtualMode)
319
if (view == View.
Tile
&& virtualMode)
484
if (view == View.
Tile
&& virtualMode)
989
if (view == View.
Tile
)
1143
[InlineData(View.
Tile
)]
1167
[InlineData(View.
Tile
)]
1239
if (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)
538
if (view == View.
Tile
)
560
if (virtualMode && view == View.
Tile
)
637
if (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)
125
if (view == View.
Tile
&& virtualMode)
177
if (view == View.
Tile
&& virtualMode)
326
using ListView listView = GetListViewWithData(View.
Tile
, createControl, virtualMode: false, showGroups);
414
using ListView listView = GetListViewWithData(View.
Tile
, createControl, virtualMode: false, showGroups);
539
if (view == View.
Tile
)
672
if (view == View.
Tile
)
735
if (virtualMode && view == View.
Tile
)
809
if (view == View.
Tile
)
860
if (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
)]
1675
case View.
Tile
:
1723
case 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)]
1805
if (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
)]
114
foreach (View view in new[] { View.List, View.LargeIcon, View.SmallIcon, View.
Tile
})
121
if (view == View.
Tile
&& virtualMode)
323
using 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)
479
View = View.
Tile
504
View = View.
Tile
1006
View = View.
Tile
System\Windows\Forms\ListViewItem.IKeyboardToolTipTests.cs (3)
180
using var listView = GetListView(virtualMode: false, view: View.
Tile
);
196
using var listView = GetListView(virtualMode: false, view: View.
Tile
);
228
using var listView = GetListView(virtualMode: false, view: View.
Tile
);
System\Windows\Forms\ListViewTests.cs (86)
1082
View = View.
Tile
1549
yield return new object[] { autoArrange, false, View.
Tile
, null };
1550
yield return new object[] { autoArrange, false, View.
Tile
, new ImageList() };
1551
yield return new object[] { autoArrange, false, View.
Tile
, CreateImageListNonEmpty() };
1613
yield return new object[] { true, false, View.
Tile
, null };
1614
yield return new object[] { true, false, View.
Tile
, new ImageList() };
1615
yield return new object[] { true, false, View.
Tile
, CreateImageListNonEmpty() };
1645
yield return new object[] { false, false, View.
Tile
, null };
1646
yield return new object[] { false, false, View.
Tile
, new ImageList() };
1647
yield return new object[] { false, false, View.
Tile
, CreateImageListNonEmpty() };
1699
yield return new object[] { true, false, View.
Tile
, null };
1700
yield return new object[] { true, false, View.
Tile
, new ImageList() };
1701
yield return new object[] { true, false, View.
Tile
, CreateImageListNonEmpty() };
1731
yield return new object[] { false, false, View.
Tile
, null };
1732
yield return new object[] { false, false, View.
Tile
, new ImageList() };
1733
yield return new object[] { false, false, View.
Tile
, CreateImageListNonEmpty() };
2494
yield return new object[] { autoArrange, false, View.
Tile
, null };
2495
yield return new object[] { autoArrange, false, View.
Tile
, new ImageList() };
2496
yield return new object[] { autoArrange, false, View.
Tile
, CreateImageListNonEmpty() };
2557
yield return new object[] { true, false, View.
Tile
, null, 0 };
2558
yield return new object[] { true, false, View.
Tile
, new ImageList(), 0 };
2559
yield return new object[] { true, false, View.
Tile
, CreateImageListNonEmpty(), 0 };
2589
yield return new object[] { false, false, View.
Tile
, null, 0 };
2590
yield return new object[] { false, false, View.
Tile
, new ImageList(), 0 };
2591
yield return new object[] { false, false, View.
Tile
, CreateImageListNonEmpty(), 0 };
2642
yield return new object[] { true, false, View.
Tile
, null, 0 };
2643
yield return new object[] { true, false, View.
Tile
, new ImageList(), 0 };
2644
yield return new object[] { true, false, View.
Tile
, CreateImageListNonEmpty(), 0 };
2674
yield return new object[] { false, false, View.
Tile
, null, 0 };
2675
yield return new object[] { false, false, View.
Tile
, new ImageList(), 0 };
2676
yield return new object[] { false, false, View.
Tile
, CreateImageListNonEmpty(), 0 };
3158
yield return new object[] { autoArrange, false, View.
Tile
, null };
3159
yield return new object[] { autoArrange, false, View.
Tile
, new ImageList() };
3160
yield return new object[] { autoArrange, false, View.
Tile
, CreateImageListNonEmpty() };
3218
yield return new object[] { true, false, View.
Tile
, null, 0, 0 };
3219
yield return new object[] { true, false, View.
Tile
, new ImageList(), 0, 0 };
3220
yield return new object[] { true, false, View.
Tile
, CreateImageListNonEmpty(), 0, 0 };
3244
yield return new object[] { false, false, View.
Tile
, null, 0, 0 };
3245
yield return new object[] { false, false, View.
Tile
, new ImageList(), 0, 0 };
3246
yield return new object[] { false, false, View.
Tile
, CreateImageListNonEmpty(), 0, 0 };
3329
yield return new object[] { true, false, View.
Tile
, null, 0, 0 };
3330
yield return new object[] { true, false, View.
Tile
, new ImageList(), 0, 0 };
3331
yield return new object[] { true, false, View.
Tile
, CreateImageListNonEmpty(), 0, 0 };
3355
yield return new object[] { false, false, View.
Tile
, null, 0, 0 };
3356
yield return new object[] { false, false, View.
Tile
, new ImageList(), 0, 0 };
3357
yield return new object[] { false, false, View.
Tile
, CreateImageListNonEmpty(), 0, 0 };
3517
yield return new object[] { useCompatibleStateImageBehavior, false, true, false, View.
Tile
, null };
3518
yield return new object[] { useCompatibleStateImageBehavior, false, true, false, View.
Tile
, new ImageList() };
3519
yield return new object[] { useCompatibleStateImageBehavior, false, true, false, View.
Tile
, CreateImageListNonEmpty() };
3521
yield return new object[] { useCompatibleStateImageBehavior, false, false, false, View.
Tile
, null };
3522
yield return new object[] { useCompatibleStateImageBehavior, false, false, false, View.
Tile
, new ImageList() };
3523
yield return new object[] { useCompatibleStateImageBehavior, false, false, false, View.
Tile
, CreateImageListNonEmpty() };
3622
yield return new object[] { true, false, true, false, View.
Tile
, null, 0, 0 };
3623
yield return new object[] { true, false, true, false, View.
Tile
, new ImageList(), 0, 0 };
3624
yield return new object[] { true, false, true, false, View.
Tile
, CreateImageListNonEmpty(), 0, 0 };
3626
yield return new object[] { true, false, false, false, View.
Tile
, null, 0, 0 };
3627
yield return new object[] { true, false, false, false, View.
Tile
, new ImageList(), 0, 0 };
3628
yield return new object[] { true, false, false, false, View.
Tile
, CreateImageListNonEmpty(), 0, 0 };
3686
yield return new object[] { false, false, true, false, View.
Tile
, null, 0, 0 };
3687
yield return new object[] { false, false, true, false, View.
Tile
, new ImageList(), 0, 0 };
3688
yield return new object[] { false, false, true, false, View.
Tile
, CreateImageListNonEmpty(), 0, 0 };
3718
yield return new object[] { false, false, false, false, View.
Tile
, null, 0, 0 };
3719
yield return new object[] { false, false, false, false, View.
Tile
, new ImageList(), 0, 0 };
3720
yield return new object[] { false, false, false, false, View.
Tile
, CreateImageListNonEmpty(), 0, 0 };
3807
yield return new object[] { true, false, true, false, View.
Tile
, null, 0, 0 };
3808
yield return new object[] { true, false, true, false, View.
Tile
, new ImageList(), 0, 0 };
3809
yield return new object[] { true, false, true, false, View.
Tile
, CreateImageListNonEmpty(), 0, 0 };
3811
yield return new object[] { true, false, false, false, View.
Tile
, null, 0, 0 };
3812
yield return new object[] { true, false, false, false, View.
Tile
, new ImageList(), 0, 0 };
3813
yield return new object[] { true, false, false, false, View.
Tile
, CreateImageListNonEmpty(), 0, 0 };
3871
yield return new object[] { false, false, true, false, View.
Tile
, null, 0, 0 };
3872
yield return new object[] { false, false, true, false, View.
Tile
, new ImageList(), 0, 0 };
3873
yield return new object[] { false, false, true, false, View.
Tile
, CreateImageListNonEmpty(), 0, 0 };
3903
yield return new object[] { false, false, false, false, View.
Tile
, null, 0, 0 };
3904
yield return new object[] { false, false, false, false, View.
Tile
, new ImageList(), 0, 0 };
3905
yield return new object[] { false, false, false, false, View.
Tile
, CreateImageListNonEmpty(), 0, 0 };
4351
if (view == View.
Tile
)
4446
if (view == View.
Tile
)
4691
if (virtualMode && view == View.
Tile
)
4757
if (virtualMode && view == View.
Tile
)
5138
[InlineData(View.
Tile
)]
5165
[InlineData(View.
Tile
)]
5190
[InlineData(View.
Tile
)]
5324
if (view == View.
Tile
)
5370
if (view == View.
Tile
)
5510
if (view == View.
Tile
)
System.Windows.Forms.UI.IntegrationTests (1)
ListViewTests.cs (1)
548
listView.View = View.
Tile
;
TrimTestBinaryDeserialization (1)
Form1.Designer.cs (1)
54
listView1.View = View.
Tile
;
WinFormsControlsTest (1)
ListViewTest.cs (1)
16
listView1.View = View.
Tile
;