1406 references to View
Accessibility_Core_App (6)
CommonControl1.cs (4)
25
listView1.View =
View
.LargeIcon;
30
listView1.View =
View
.SmallIcon;
35
listView1.View =
View
.Details;
40
listView1.View =
View
.List;
DataBindingExample.cs (1)
88
listView1.View =
View
.Details;
DataBindingExample.Designer.cs (1)
245
this.listView1.View = System.Windows.Forms.
View
.Details;
System.Windows.Forms (119)
System\Windows\Forms\Controls\ListView\ColumnHeader.cs (1)
395
if (ListView is not null && ListView.IsHandleCreated && !ListView.Disposing && ListView.View ==
View
.Details)
System\Windows\Forms\Controls\ListView\DrawListViewItemEventArgs.cs (1)
97
if (Item.ListView is not null && Item.ListView.View ==
View
.Details)
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 (61)
56
private
View
_viewStyle =
View
.LargeIcon;
453
if (value && View ==
View
.Tile)
498
if (value && View ==
View
.Tile)
519
(value && View ==
View
.List && IsHandleCreated) ||
520
(value && (View ==
View
.SmallIcon || View ==
View
.LargeIcon) && IsHandleCreated))
719
if (_viewStyle !=
View
.Tile)
849
Debug.Assert(!_listViewState[LISTVIEWSTATE_flipViewToLargeIconAndSmallIcon] || View ==
View
.SmallIcon, "we need this bit only in SmallIcon view");
857
Debug.Assert(!value || View ==
View
.SmallIcon, "we need this bit only in SmallIcon view");
980
internal bool GroupsDisplayed => View !=
View
.List && GroupsEnabled;
1457
if (View ==
View
.SmallIcon)
1459
View =
View
.LargeIcon;
1460
View =
View
.SmallIcon;
1467
if (View ==
View
.Details)
1509
if (View is
View
.LargeIcon or
View
.SmallIcon)
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)
1799
[DefaultValue(
View
.LargeIcon)]
1801
public
View
View
1809
if (value ==
View
.Tile && CheckBoxes)
1819
if (value ==
View
.Tile && VirtualMode)
1833
if (_viewStyle ==
View
.Tile)
1870
bool keepTopItem = IsHandleCreated && VirtualMode && View ==
View
.Details && !DesignMode;
1931
if (value && View ==
View
.Tile)
2237
if (_viewStyle !=
View
.SmallIcon)
2477
&& View ==
View
.Details
2503
View ==
View
.Details &&
2652
if (_viewStyle ==
View
.Details)
2670
if (_viewStyle is
View
.Details or
View
.Tile)
3215
if (View is not
View
.SmallIcon and not
View
.LargeIcon)
3580
if (View ==
View
.Details && Columns.Count == 0)
3609
if (View ==
View
.Details && Columns.Count == 0)
3643
if (View ==
View
.Tile)
3648
if (View ==
View
.Details)
3785
if (_viewStyle ==
View
.Details && IsHandleCreated)
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)
3997
if (IsHandleCreated && Items.Count == 0 && View ==
View
.SmallIcon && Application.ComCtlSupportsVisualStyles)
4245
View =
View
.LargeIcon;
4246
View =
View
.SmallIcon;
4586
if (_viewStyle ==
View
.Tile)
4799
if (View ==
View
.Details && !Scrollable && IsHandleCreated)
4997
if (View is
View
.LargeIcon or
View
.SmallIcon)
5026
if (View ==
View
.LargeIcon)
5469
if (View ==
View
.List && subItemIndex == 0)
5586
if (!VirtualMode && IsHandleCreated && AutoArrange && (View ==
View
.LargeIcon || View ==
View
.SmallIcon))
5797
Debug.Assert(_viewStyle ==
View
.Tile, "this function should be called only in Tile view");
6959
View ==
View
.Details &&
System\Windows\Forms\Controls\ListView\ListView.ListViewAccessibleObject.cs (8)
14
private static readonly int[] s_enumViewValues = (int[])Enum.GetValues(typeof(
View
));
191
=> [(int)
View
.Details];
230
=> (VARIANT)(int)((this.TryGetOwnerAs(out ListView? owningListView) && owningListView.View ==
View
.Details)
316
View
.Details => ((ListViewItem.ListViewItemDetailsAccessibleObject)itemAccessibleObject)
321
View
.Tile => hitTestInfo.SubItem.Index > 0 ? hitTestInfo.SubItem.AccessibilityObject : itemAccessibleObject,
351
|| (patternId == UIA_PATTERN_ID.UIA_GridPatternId && owningListView.View ==
View
.Details)
352
|| (patternId == UIA_PATTERN_ID.UIA_TablePatternId && owningListView.View ==
View
.Details)
366
owningListView.View = (
View
)view;
System\Windows\Forms\Controls\ListView\ListView.ListViewNativeItemCollection.cs (3)
265
if (_owner.View ==
View
.SmallIcon)
274
_owner.View =
View
.LargeIcon;
275
_owner.View =
View
.SmallIcon;
System\Windows\Forms\Controls\ListView\ListViewItem.cs (12)
55
private
View
_accessibilityObjectView;
259
View
.Details => new ListViewItemDetailsAccessibleObject(this),
260
View
.LargeIcon => new ListViewItemLargeIconAccessibleObject(this),
261
View
.List => new ListViewItemListAccessibleObject(this),
262
View
.SmallIcon => new ListViewItemSmallIconAccessibleObject(this),
263
View
.Tile => new ListViewItemTileAccessibleObject(this),
529
case
View
.LargeIcon:
530
case
View
.Tile:
532
case
View
.SmallIcon:
533
case
View
.Details:
534
case
View
.List:
978
if (_listView is not null && _listView.IsHandleCreated && _listView.View ==
View
.Details)
System\Windows\Forms\Controls\ListView\ListViewItem.IKeyboardToolTip.cs (6)
32
case
View
.SmallIcon:
33
case
View
.LargeIcon:
45
case
View
.Details:
101
View
.Details or
View
.List => GetDetailsListRectangle(point, item, itemBounds),
102
View
.Tile => GetTileRectangle(point, item, itemBounds),
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewItemBaseAccessibleObject.cs (1)
95
protected abstract
View
View { get; }
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewItemDetailsAccessibleObject.cs (6)
25
protected override
View
View =>
View
.Details;
46
if (_owningListView.View !=
View
.Details)
48
throw new InvalidOperationException(string.Format(SR.ListViewItemAccessibilityObjectInvalidViewException, nameof(
View
.Details)));
73
if (_owningListView.View !=
View
.Details)
75
throw new InvalidOperationException(string.Format(SR.ListViewItemAccessibilityObjectInvalidViewException, nameof(
View
.Details)));
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewItemLargeIconAccessibleObject.cs (2)
14
protected override
View
View =>
View
.LargeIcon;
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewItemListAccessibleObject.cs (2)
26
protected override
View
View =>
View
.List;
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewItemSmallIconAccessibleObject.cs (2)
14
protected override
View
View =>
View
.SmallIcon;
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewItemTileAccessibleObject.cs (6)
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\ListViewItem.ListViewSubItem.ListViewSubItemAccessibleObject.cs (3)
85
=> _owningListView.View ==
View
.Details
142
=> _owningListView.View ==
View
.Details && Column > -1
150
return _owningListView.View ==
View
.Details;
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.Design (7)
System\Windows\Forms\Design\ListViewActionList.cs (1)
30
public
View
View
System\Windows\Forms\Design\ListViewDesigner.cs (4)
55
private
View
View
64
if (value ==
View
.Details)
76
if (listView.View ==
View
.Details)
108
if (lv.View ==
View
.Details)
System\Windows\Forms\Design\MaskDesignerDialog.cs (1)
171
_listViewCannedMasks.View =
View
.Details;
System\Windows\Forms\Design\StyleEditorForm.cs (1)
318
_columnsAndRowsListView.View =
View
.Details;
System.Windows.Forms.Design.Tests (2)
System\Windows\Forms\Design\ListViewActionListTests.cs (2)
40
_actionList.View =
View
.Details;
41
_actionList.View.Should().Be(
View
.Details);
System.Windows.Forms.Tests (1263)
System\Windows\Forms\AccessibleObjects\ListVIew.ListViewAccessibleObjectTests.cs (115)
62
Assert.Equal(new int[] { (int)
View
.Details }, accessibleObject.GetMultiViewProviderSupportedViews());
70
listView.View =
View
.Details;
72
Assert.Equal(((int)(listView.View)).ToString(), accessibleObject.GetMultiViewProviderViewName((int)
View
.Details));
230
foreach (
View
view in Enum.GetValues(typeof(
View
)))
235
if (view ==
View
.Tile && virtualMode)
256
public void ListViewAccessibleObject_OwnerHasDefaultGroup_ReturnsExpected(
View
view, bool virtualMode, bool showGroups, bool createHandle, bool createDefaultGroup)
314
foreach (
View
view in Enum.GetValues(typeof(
View
)))
319
if (view ==
View
.Tile && virtualMode)
337
public void ListViewAccessibleObject_OwnerHasDefaultGroup_ReturnsExpected_WithoutItems(
View
view, bool virtualMode, bool showGroups, bool createHandle)
379
public void ListViewAccessibleObject_GetChildCount_ReturnsExpected(
View
view, bool virtualMode, bool showGroups, bool createHandle, bool createGroup)
440
public void ListViewAccessibleObject_GetChildCount_ReturnsExpected_WithoutItems(
View
view, bool virtualMode, bool showGroups, bool createHandle, bool createGroup)
479
foreach (
View
view in Enum.GetValues(typeof(
View
)))
484
if (view ==
View
.Tile && virtualMode)
502
public void ListViewAccessibleObject_GetChild_ReturnsExpected_IfHandleCreated(
View
view, bool virtualMode, bool showGroups, bool createGroup)
573
public void ListViewAccessibleObject_GetChild_ReturnsExpected_IfHandleNotCreated(
View
view, bool virtualMode, bool showGroups, bool createGroup)
628
public void ListViewAccessibleObject_GetChildIndex_ReturnsExpected_WithDefaultGroup(
View
view, bool virtualMode, bool showGroups, bool createHandle, bool createGroup)
708
public void ListViewAccessibleObject_GetChildIndex_ReturnsExpected_WithoutDefaultGroup(
View
view, bool virtualMode, bool showGroups, bool createHandle, bool createGroup)
790
public void ListViewAccessibleObject_GetChildIndex_ReturnsExpected_WithoutVisibleItems(
View
view, bool virtualMode, bool showGroups, bool createHandle, bool createGroup)
842
public void ListViewAccessibleObject_GetChildIndex_ReturnsMinusOne_IfChildIsNull(
View
view, bool virtualMode, bool showGroups, bool createHandle, bool createGroup)
900
foreach (
View
view in Enum.GetValues(typeof(
View
)))
911
public void ListViewAccessibleObject_GetSelectionInvoke_ReturnsExpected(
View
view, bool showGroups)
948
public void ListViewAccessibleObject_GetSelectionInvoke_WithoutSelectedItems_ReturnsExpected(
View
view, bool showGroups)
967
public void ListViewAccessibleObject_GetSelectionInvoke_ReturnsExpected_IfHandleNotCreated(
View
view, bool showGroups)
986
foreach (
View
view in Enum.GetValues(typeof(
View
)))
989
if (view ==
View
.Tile)
1003
public void ListViewAccessibleObject_GetSelectionInvoke_VirtualMode_ReturnsExpected(
View
view, bool showGroups)
1049
public void ListViewAccessibleObject_GetSelectionInvoke_WithoutSelectedItems_VirtualModeReturnsExpected(
View
view, bool showGroups)
1080
public void ListViewAccessibleObject_GetSelectionInvoke_VirtualMode_ReturnsExpected_IfHandleNotCreated(
View
view, bool showGroups)
1139
[InlineData(
View
.Details)]
1140
[InlineData(
View
.LargeIcon)]
1141
[InlineData(
View
.List)]
1142
[InlineData(
View
.SmallIcon)]
1143
[InlineData(
View
.Tile)]
1144
public void ListViewAccessibleObject_HitTest_DoesNotReturnNull_IfHandleIsCreated(
View
view)
1163
[InlineData(
View
.Details)]
1164
[InlineData(
View
.LargeIcon)]
1165
[InlineData(
View
.List)]
1166
[InlineData(
View
.SmallIcon)]
1167
[InlineData(
View
.Tile)]
1168
public void ListViewAccessibleObject_HitTest_ReturnsNull_IfHandleIsNotCreated(
View
view)
1188
listView.View =
View
.Details;
1214
listView.View =
View
.Details;
1234
foreach (
View
view in Enum.GetValues(typeof(
View
)))
1239
if (virtualMode && view ==
View
.Tile)
1254
public void ListViewAccessibleObject_GetChildCount_ReturnsExpected_IfHandleIsNotCreated(
View
view, bool showGroups, bool virtualMode)
1264
public void ListViewAccessibleObject_GetChildCount_ReturnsExpected_IfHandleIsCreated(
View
view, bool showGroups, bool virtualMode)
1270
int expectedCount = view !=
View
.List && listView.GroupsEnabled ? 2 : 4;
1277
public void ListViewAccessibleObject_GetChild_ReturnsNull_IfHandleIsNotCreated(
View
view, bool showGroups, bool virtualMode)
1287
public void ListViewAccessibleObject_GetChild_ReturnsNull_IfIndexIsNegative(
View
view, bool showGroups, bool virtualMode)
1297
public void ListViewAccessibleObject_GetChild_ReturnsNull_IfIndexIsWrong(
View
view, bool showGroups, bool virtualMode)
1307
public void ListViewAccessibleObject_GetChild_ReturnsExpected_DetailsView(
View
view, bool showGroups, bool virtualMode)
1312
if (listView.GroupsEnabled && view !=
View
.List)
1333
public void ListViewAccessibleObject_FragmentNavigate_ReturnsNull_IfHandleIsNotCreated(
View
view, bool showGroups, bool virtualMode)
1348
public void ListViewAccessibleObject_FragmentNavigate_ReturnsNull_IfHandleIsCreated(
View
view, bool showGroups, bool virtualMode)
1361
public void ListViewAccessibleObject_FragmentNavigate_Child_ReturnsExpected(
View
view, bool showGroups, bool virtualMode)
1365
AccessibleObject expectedFirstChild = listView.GroupsEnabled && view !=
View
.List
1369
AccessibleObject expectedLastChild = listView.GroupsEnabled && view !=
View
.List
1381
private ListView GetListViewWithData(
View
view, bool createControl, bool virtualMode, bool showGroups)
1442
[InlineData(
View
.Details)]
1443
[InlineData(
View
.LargeIcon)]
1444
[InlineData(
View
.SmallIcon)]
1445
[InlineData(
View
.Tile)]
1446
public void ListViewAccessibleObject_FragmentNavigate_ReturnExpected_InvisibleGroups(
View
view)
1468
[InlineData(
View
.Details)]
1469
[InlineData(
View
.LargeIcon)]
1470
[InlineData(
View
.SmallIcon)]
1471
[InlineData(
View
.Tile)]
1472
public void ListViewAccessibleObject_FragmentNavigate_ReturnExpected_InvisibleGroups_AfterAddingItems(
View
view)
1505
[InlineData(
View
.Details)]
1506
[InlineData(
View
.LargeIcon)]
1507
[InlineData(
View
.SmallIcon)]
1508
[InlineData(
View
.Tile)]
1509
public void ListViewAccessibleObject_FragmentNavigate_ReturnExpected_InvisibleGroups_AfterRemovingItems(
View
view)
1538
[InlineData(
View
.Details)]
1539
[InlineData(
View
.LargeIcon)]
1540
[InlineData(
View
.SmallIcon)]
1541
[InlineData(
View
.Tile)]
1542
public void ListViewAccessibleObject_GetChildCount_ReturnExpected_InvisibleGroups(
View
view)
1557
[InlineData(
View
.Details)]
1558
[InlineData(
View
.LargeIcon)]
1559
[InlineData(
View
.SmallIcon)]
1560
[InlineData(
View
.Tile)]
1561
public void ListViewAccessibleObject_GetChildCount_ReturnExpected_InvisibleGroups_AfterAddingItems(
View
view)
1585
[InlineData(
View
.Details)]
1586
[InlineData(
View
.LargeIcon)]
1587
[InlineData(
View
.SmallIcon)]
1588
[InlineData(
View
.Tile)]
1589
public void ListViewAccessibleObject_GetChildCount_ReturnExpected_InvisibleGroups_AfterRemovingItems(
View
view)
1609
[InlineData(
View
.Details)]
1610
[InlineData(
View
.LargeIcon)]
1611
[InlineData(
View
.SmallIcon)]
1612
[InlineData(
View
.Tile)]
1613
public void ListViewAccessibleObject_GetChildCount_ReturnExpected_GroupWithInvalidAccessibleObject(
View
view)
1631
[InlineData(
View
.Details)]
1632
[InlineData(
View
.LargeIcon)]
1633
[InlineData(
View
.SmallIcon)]
1634
[InlineData(
View
.Tile)]
1635
public void ListViewAccessibleObject_GetChild_ReturnExpected_InvisibleGroups(
View
view)
1655
[InlineData(
View
.Details)]
1656
[InlineData(
View
.LargeIcon)]
1657
[InlineData(
View
.SmallIcon)]
1658
[InlineData(
View
.Tile)]
1659
public void ListViewAccessibleObject_GetChild_ReturnExpected_InvisibleGroups_AfterAddingItems(
View
view)
1689
[InlineData(
View
.Details)]
1690
[InlineData(
View
.LargeIcon)]
1691
[InlineData(
View
.SmallIcon)]
1692
[InlineData(
View
.Tile)]
1693
public void ListViewAccessibleObject_GetChild_ReturnExpected_InvisibleGroups_AfterRemovingItems(
View
view)
1718
private ListView GetListViewItemWithEmptyGroups(
View
view)
System\Windows\Forms\AccessibleObjects\ListViewGroup.ListViewGroupAccessibleObjectTests.cs (98)
132
public void ListViewGroupAccessibleObject_FragmentNavigate_ReturnsExpected_WithDefaultGroup(
View
view, bool showGroups, bool createHandle)
202
public void ListViewGroupAccessibleObject_FragmentNavigate_ReturnsExpected_WithoutDefaultGroup(
View
view, bool showGroups, bool createHandle)
351
foreach (
View
view in Enum.GetValues(typeof(
View
)))
365
public void ListViewGroupAccessibleObject_GetChildIndex_ReturnsExpected(
View
view, bool showGroups, bool createHandle)
460
public void ListViewGroupAccessibleObject_GetChildIndex_ReturnsMinusOne_IfChildIsNull(
View
view, bool showGroups, bool createHandle)
496
public void ListViewGroupAccessibleObject_GetChildCount_Invoke_ReturnsExpected(
View
view, bool showGroups, bool createHandle)
535
foreach (
View
view in Enum.GetValues(typeof(
View
)))
538
if (view ==
View
.Tile)
557
foreach (
View
view in Enum.GetValues(typeof(
View
)))
560
if (virtualMode && view ==
View
.Tile)
578
public void ListViewGroupAccessibleObject_GetChild_Invoke_ReturnsExpected(
View
view, bool showGroups, bool createHandle)
634
foreach (
View
view in Enum.GetValues(typeof(
View
)))
637
if (virtualMode && view ==
View
.Tile)
655
public void ListViewGroup_GroupAddedWithItem_AccessibleObject_DoesntThrowException(
View
view, bool showGroups, bool createHandle, bool virtualMode)
698
public void ListViewGroupAccessibleObject_ExpandCollapseState_ReturnExpected(
View
view, bool showGroups, bool createHandle)
846
[InlineData(
View
.Details)]
847
[InlineData(
View
.LargeIcon)]
848
[InlineData(
View
.SmallIcon)]
849
[InlineData(
View
.Tile)]
850
public void ListViewGroupAccessibleObject_FragmentNavigate_Sibling_ReturnsExpected_InvisibleGroups(
View
view)
870
[InlineData(
View
.Details)]
871
[InlineData(
View
.LargeIcon)]
872
[InlineData(
View
.SmallIcon)]
873
[InlineData(
View
.Tile)]
874
public void ListViewGroupAccessibleObject_FragmentNavigate_ReturnsExpected_Sibling_InvisibleGroups_AfterAddingItems(
View
view)
910
[InlineData(
View
.Details)]
911
[InlineData(
View
.LargeIcon)]
912
[InlineData(
View
.SmallIcon)]
913
[InlineData(
View
.Tile)]
914
public void ListViewGroupAccessibleObject_FragmentNavigate_Sibling_ReturnsExpected_InvisibleGroups_AfterRemovingItems(
View
view)
939
[InlineData(
View
.Details)]
940
[InlineData(
View
.LargeIcon)]
941
[InlineData(
View
.SmallIcon)]
942
[InlineData(
View
.Tile)]
943
public void ListViewGroupAccessibleObject_FragmentNavigate_Child_ReturnsExpected_InvisibleItems(
View
view)
959
[InlineData(
View
.Details)]
960
[InlineData(
View
.LargeIcon)]
961
[InlineData(
View
.SmallIcon)]
962
[InlineData(
View
.Tile)]
963
public void ListViewGroupAccessibleObject_FragmentNavigate_Child_ReturnsExpected_InvisibleItems_AfterAddingItems(
View
view)
985
[InlineData(
View
.Details)]
986
[InlineData(
View
.LargeIcon)]
987
[InlineData(
View
.SmallIcon)]
988
[InlineData(
View
.Tile)]
989
public void ListViewGroupAccessibleObject_FragmentNavigate_Child_ReturnsExpected_InvisibleItems_AfterRemovingItems(
View
view)
1010
[InlineData(
View
.Details)]
1011
[InlineData(
View
.LargeIcon)]
1012
[InlineData(
View
.SmallIcon)]
1013
[InlineData(
View
.Tile)]
1014
public void ListViewGroupAccessibleObject_GetChildCount_ReturnsExpected_InvisibleItems(
View
view)
1029
[InlineData(
View
.Details)]
1030
[InlineData(
View
.LargeIcon)]
1031
[InlineData(
View
.SmallIcon)]
1032
[InlineData(
View
.Tile)]
1033
public void ListViewGroupAccessibleObject_GetChildCount_ReturnsExpected_InvisibleItems_AfterAddingItems(
View
view)
1053
[InlineData(
View
.Details)]
1054
[InlineData(
View
.LargeIcon)]
1055
[InlineData(
View
.SmallIcon)]
1056
[InlineData(
View
.Tile)]
1057
public void ListViewGroupAccessibleObject_GetChildCount_ReturnsExpected_InvisibleItems_AfterRemovingItems(
View
view)
1080
[InlineData(
View
.Details)]
1081
[InlineData(
View
.LargeIcon)]
1082
[InlineData(
View
.SmallIcon)]
1083
[InlineData(
View
.Tile)]
1084
public void ListViewGroupAccessibleObject_GetChild_ReturnsExpected_InvisibleItems(
View
view)
1101
[InlineData(
View
.Details)]
1102
[InlineData(
View
.LargeIcon)]
1103
[InlineData(
View
.SmallIcon)]
1104
[InlineData(
View
.Tile)]
1105
public void ListViewGroupAccessibleObject_GetChild_ReturnsExpected_InvisibleItems_AfterAddingItems(
View
view)
1127
[InlineData(
View
.Details)]
1128
[InlineData(
View
.LargeIcon)]
1129
[InlineData(
View
.SmallIcon)]
1130
[InlineData(
View
.Tile)]
1131
public void ListViewGroupAccessibleObject_GetChild_ReturnsExpected_InvisibleItems_AfterRemovingItems(
View
view)
1150
public void ListViewGroupAccessibleObject_FragmentRoot_Returns_ListViewAccessibleObject(
View
view, bool showGroups, bool createHandle)
1172
public void ListViewGroupAccessibleObject_Bounds_ReturnsExpected(
View
view, bool showGroups, bool createHandle)
1184
[InlineData(
View
.Details)]
1185
[InlineData(
View
.LargeIcon)]
1186
[InlineData(
View
.SmallIcon)]
1187
[InlineData(
View
.Tile)]
1188
public void ListViewGroupAccessibleObject_Bounds_LocatedInsideListViewBounds(
View
view)
1205
[InlineData(
View
.Details)]
1206
[InlineData(
View
.LargeIcon)]
1207
[InlineData(
View
.SmallIcon)]
1208
[InlineData(
View
.Tile)]
1209
public void ListViewGroupAccessibleObject_Bounds_ReturnEmptyRectangle_ForEmptyGroup(
View
view)
1227
private ListView GetListViewItemWithEmptyGroups(
View
view)
1253
public void ListViewGroupAccessibleObject_SetFocus_WorksCorrectly(
View
view, bool showGroups, bool createHandle)
1298
foreach (
View
view in Enum.GetValues(typeof(
View
)))
1315
public void ListViewGroupAccessibleObject_IsPatternSupported_ReturnFalse_ForCollapsedStateDefault(
View
view, bool showGroups, bool createHandle, ListViewGroupCollapsedState listViewGroupCollapsedState)
1397
private ListView GetListViewItemWithInvisibleItems(
View
view)
1418
private ListView GetListViewWithGroups(
View
view, bool showGroups, bool createHandle, bool virtualMode)
System\Windows\Forms\AccessibleObjects\ListViewItem.ListViewItemAccessibleObjectTests.cs (236)
48
foreach (
View
view in Enum.GetValues(typeof(
View
)))
62
public void ListViewItemAccessibleObject_InGroup_Ctor(
View
view, bool showGroups, bool createHandle)
118
foreach (
View
view in Enum.GetValues(typeof(
View
)))
125
if (view ==
View
.Tile && virtualMode)
141
public void ListViewItemAccessibleObject_FragmentNavigate_Parent_ReturnExpected(
View
view, bool createControl, bool virtualMode, bool showGroups)
160
&& listView.View !=
View
.List
172
foreach (
View
view in Enum.GetValues(typeof(
View
)))
177
if (view ==
View
.Tile && virtualMode)
192
public void ListViewItemAccessibleObject_FragmentNavigate_NextSibling_ReturnExpected_IfHandleIsCreated(
View
view, bool virtualMode, bool showGroups)
201
if (Application.UseVisualStyles && showGroups && !virtualMode && listView.View !=
View
.List)
221
public void ListViewItemAccessibleObject_FragmentNavigate_NextSibling_ReturnExpected_IfHandleIsNotCreated(
View
view, bool virtualMode, bool showGroups)
239
public void ListViewItemAccessibleObject_FragmentNavigate_PreviousSibling_ReturnExpected_IfHandleIsCreated(
View
view, bool virtualMode, bool showGroups)
248
if (Application.UseVisualStyles && showGroups && !virtualMode && listView.View !=
View
.List)
268
public void ListViewItemAccessibleObject_FragmentNavigate_PreviousSibling_ReturnExpected_IfHandleIsNotCreated(
View
view, bool virtualMode, bool showGroups)
286
foreach (
View
view in new
View
[] {
View
.List,
View
.LargeIcon,
View
.SmallIcon })
303
public void ListViewItemAccessibleObject_FragmentNavigate_FirstChild_ReturnExpected(
View
view, bool createControl, bool virtualMode, bool showGroups)
326
using ListView listView = GetListViewWithData(
View
.Tile, createControl, virtualMode: false, showGroups);
347
using ListView listView = GetListViewWithData(
View
.Details, createControl: true, virtualMode: virtualMode, showGroups);
379
using ListView listView = GetListViewWithSubItemData(
View
.Details, createControl, virtualMode, showGroups, columnCount: 3, subItemCount: 3);
391
public void ListViewItemAccessibleObject_FragmentNavigate_LastChild_ReturnExpected(
View
view, bool createControl, bool virtualMode, bool showGroups)
414
using ListView listView = GetListViewWithData(
View
.Tile, createControl, virtualMode: false, showGroups);
432
using ListView listView = GetListViewWithSubItemData(
View
.Details, createControl, virtualMode, showGroups, columnCount: 3, subItemCount: 3);
446
using ListView listView = GetListViewWithSubItemData(
View
.Details, createControl, virtualMode, showGroups, columnCount: 3, subItemCount: 0);
464
using ListView listView = GetListViewWithSubItemData(
View
.Details, createControl, virtualMode, showGroups, columnCount: 1, subItemCount: 5);
480
using ListView listView = GetListViewWithSubItemData(
View
.Details, createControl, virtualMode, showGroups, columnCount: 2, subItemCount: 0);
509
using ListView listView = GetListViewWithSubItemData(
View
.Details, createControl, virtualMode, showGroups, columnCount: 2, subItemCount: 1);
536
foreach (
View
view in Enum.GetValues(typeof(
View
)))
539
if (view ==
View
.Tile)
554
public void ListViewItemAccessibleObject_FragmentNavigate_ListWithItems_VirtualMode_VirtualListSize1_ReturnsExpected(
View
view, bool showGroups)
628
foreach (
View
view in Enum.GetValues(typeof(
View
)))
643
public void ListViewItemAccessibleObject_State_ReturnExpected(
View
view, bool selected, AccessibleStates expectedAccessibleStates, bool createHandle)
669
foreach (
View
view in Enum.GetValues(typeof(
View
)))
672
if (view ==
View
.Tile)
690
public void ListViewItemAccessibleObject_State_Virtual_ModeReturnExpected(
View
view, bool selected, AccessibleStates expectedAccessibleStates, bool createHandle)
732
foreach (
View
view in Enum.GetValues(typeof(
View
)))
735
if (virtualMode && view ==
View
.Tile)
750
public void ListViewItemAccessibleObject_Bounds_ReturnExpected_IfHandleIsCreated(
View
view, bool showGroups, bool virtualMode)
772
public void ListViewItemAccessibleObject_Bounds_ReturnExpected_IfHandleIsNotCreated(
View
view, bool showGroups, bool virtualMode)
806
foreach (
View
view in Enum.GetValues(typeof(
View
)))
809
if (view ==
View
.Tile)
832
public void ListViewItemAccessibleObject_IsTogglePatternSupported_ReturnExpected(
View
view, bool showGroups, bool createHandle, bool virtualMode, bool checkboxesEnabled)
857
foreach (
View
view in Enum.GetValues(typeof(
View
)))
860
if (view ==
View
.Tile)
880
public void ListViewItemAccessibleObject_ToggleState_ReturnExpected(
View
view, bool showGroups, bool createHandle, bool virtualMode)
915
public void ListViewItemAccessibleObject_Toggle_Invoke(
View
view, bool showGroups, bool createHandle, bool virtualMode)
953
[InlineData(
View
.Details)]
954
[InlineData(
View
.LargeIcon)]
955
[InlineData(
View
.SmallIcon)]
956
[InlineData(
View
.Tile)]
957
public void ListViewItemAccessibleObject_FragmentNavigate_Sibling_ReturnsExpected_InvisibleItems(
View
view)
971
[InlineData(
View
.Details)]
972
[InlineData(
View
.LargeIcon)]
973
[InlineData(
View
.SmallIcon)]
974
[InlineData(
View
.Tile)]
975
public void ListViewItemAccessibleObject_FragmentNavigate_Sibling_ReturnsExpected_InvisibleItems_AfterAddingItems(
View
view)
1006
[InlineData(
View
.Details)]
1007
[InlineData(
View
.LargeIcon)]
1008
[InlineData(
View
.SmallIcon)]
1009
[InlineData(
View
.Tile)]
1010
public void ListViewItemAccessibleObject_FragmentNavigate_Sibling_ReturnsExpected_InvisibleItems_AfterRemovingItems(
View
view)
1030
public void ListViewItemAccessibleObject_GetChildCount_ReturnsExpected(
View
view, bool createControl, bool virtualMode, bool showGroups)
1038
? view ==
View
.Details ? 3 : 0
1048
public void ListViewItemAccessibleObject_GetChild_ReturnsExpected(
View
view, bool createControl, bool virtualMode, bool showGroups)
1056
if (view ==
View
.Details)
1088
public void ListViewItemAccessibleObject_GetChild_ReturnsExpected_ForManySubItems(
View
view, bool createControl, bool virtualMode, bool showGroups)
1096
if (view ==
View
.Details)
1123
View
view,
1187
private ListView GetListViewWithData(
View
view, bool createControl, bool virtualMode, bool showGroups, bool groupsEnabled = true, bool itemsInGroup = true, ListViewGroupCollapsedState state = ListViewGroupCollapsedState.Default)
1252
private ListView GetListViewItemWithInvisibleItems(
View
view)
1274
[InlineData(
View
.Details)]
1275
[InlineData(
View
.LargeIcon)]
1276
[InlineData(
View
.SmallIcon)]
1277
[InlineData(
View
.Tile)]
1278
public void ListViewItemAccessibleObject_FragmentNavigate_Sibling_Parent_ReturnsExpected_AfterAddingGroup(
View
view)
1331
[InlineData(
View
.Details)]
1332
[InlineData(
View
.LargeIcon)]
1333
[InlineData(
View
.SmallIcon)]
1334
[InlineData(
View
.Tile)]
1335
public void ListViewItemAccessibleObject_FragmentNavigate_Sibling_Parent_ReturnsExpected_AfterRemovingGroup(
View
view)
1389
[InlineData(
View
.Details)]
1390
[InlineData(
View
.LargeIcon)]
1391
[InlineData(
View
.SmallIcon)]
1392
[InlineData(
View
.Tile)]
1393
public void ListViewItemAccessibleObject_FragmentNavigate_Sibling_Parent_ReturnsExpected_AfterUpdatingGroup(
View
view)
1451
View =
View
.List,
1529
[InlineData(
View
.Details)]
1530
[InlineData(
View
.LargeIcon)]
1531
[InlineData(
View
.List)]
1532
[InlineData(
View
.SmallIcon)]
1533
[InlineData(
View
.Tile)]
1534
public void ListViewItemAccessibleObject_GetChildIndex_ReturnsExpected(
View
view)
1542
if (view ==
View
.Details)
1559
[InlineData(
View
.Details)]
1560
[InlineData(
View
.LargeIcon)]
1561
[InlineData(
View
.List)]
1562
[InlineData(
View
.SmallIcon)]
1563
[InlineData(
View
.Tile)]
1564
public void ListViewItemAccessibleObject_GetChildIndex_ReturnsMinusOne_IfChildIsNull(
View
view)
1574
[InlineData(
View
.Details)]
1575
[InlineData(
View
.LargeIcon)]
1576
[InlineData(
View
.List)]
1577
[InlineData(
View
.SmallIcon)]
1578
[InlineData(
View
.Tile)]
1579
public void ListViewItemAccessibleObject_GetChildIndex_ReturnsMinusOne_IfSubItemNotExists(
View
view)
1595
using ListView listView = new() { View =
View
.Details };
1619
View =
View
.Details,
1633
[InlineData(
View
.Details)]
1634
[InlineData(
View
.LargeIcon)]
1635
[InlineData(
View
.List)]
1636
[InlineData(
View
.SmallIcon)]
1637
[InlineData(
View
.Tile)]
1638
public void ListViewItemAccessibleObject_GetChildIndex_ReturnsMinusOne_ForInvalidChild(
View
view)
1651
[InlineData(
View
.Details)]
1652
[InlineData(
View
.LargeIcon)]
1653
[InlineData(
View
.List)]
1654
[InlineData(
View
.SmallIcon)]
1655
[InlineData(
View
.Tile)]
1656
public void ListViewItemAccessibleObject_ReturnExpectedType(
View
view)
1663
case
View
.Details:
1666
case
View
.LargeIcon:
1669
case
View
.List:
1672
case
View
.SmallIcon:
1675
case
View
.Tile:
1683
foreach (
View
oldView in Enum.GetValues(typeof(
View
)))
1685
foreach (
View
newView in Enum.GetValues(typeof(
View
)))
1697
public void ListViewItemAccessibleObject_ReturnExpectedType_AfterChangingView(
View
oldView,
View
newView)
1711
case
View
.Details:
1714
case
View
.LargeIcon:
1717
case
View
.List:
1720
case
View
.SmallIcon:
1723
case
View
.Tile:
1731
[InlineData(
View
.Details,
View
.LargeIcon)]
1732
[InlineData(
View
.Details,
View
.List)]
1733
[InlineData(
View
.Details,
View
.SmallIcon)]
1734
[InlineData(
View
.Details,
View
.Tile)]
1735
[InlineData(
View
.LargeIcon,
View
.Details)]
1736
[InlineData(
View
.LargeIcon,
View
.List)]
1737
[InlineData(
View
.LargeIcon,
View
.SmallIcon)]
1738
[InlineData(
View
.LargeIcon,
View
.Tile)]
1739
[InlineData(
View
.List,
View
.Details)]
1740
[InlineData(
View
.List,
View
.LargeIcon)]
1741
[InlineData(
View
.List,
View
.SmallIcon)]
1742
[InlineData(
View
.List,
View
.Tile)]
1743
[InlineData(
View
.SmallIcon,
View
.Details)]
1744
[InlineData(
View
.SmallIcon,
View
.LargeIcon)]
1745
[InlineData(
View
.SmallIcon,
View
.List)]
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)]
1751
public void ListViewItemAccessibleObject_GetChild_ReturnException_AfterChangingView(
View
oldView,
View
newView)
1764
[InlineData(
View
.Details,
View
.LargeIcon)]
1765
[InlineData(
View
.Details,
View
.List)]
1766
[InlineData(
View
.Details,
View
.SmallIcon)]
1767
[InlineData(
View
.Details,
View
.Tile)]
1768
[InlineData(
View
.LargeIcon,
View
.Details)]
1769
[InlineData(
View
.LargeIcon,
View
.List)]
1770
[InlineData(
View
.LargeIcon,
View
.SmallIcon)]
1771
[InlineData(
View
.LargeIcon,
View
.Tile)]
1772
[InlineData(
View
.List,
View
.Details)]
1773
[InlineData(
View
.List,
View
.LargeIcon)]
1774
[InlineData(
View
.List,
View
.SmallIcon)]
1775
[InlineData(
View
.List,
View
.Tile)]
1776
[InlineData(
View
.SmallIcon,
View
.Details)]
1777
[InlineData(
View
.SmallIcon,
View
.LargeIcon)]
1778
[InlineData(
View
.SmallIcon,
View
.List)]
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)]
1784
public void ListViewItemAccessibleObject_GetChildCount_ReturnException_AfterChangingView(
View
oldView,
View
newView)
1798
foreach (
View
view in Enum.GetValues(typeof(
View
)))
1805
if (virtualMode && view ==
View
.Tile)
1830
public void ListViewItemAccessibleObject_GetPropertyValue_ReturnsFalseWhenCollapsedOrOffScreen(
View
view, bool createControl, bool virtualMode, bool showGroups, bool groupsEnabled, bool itemsInGroup, ListViewGroupCollapsedState state)
1918
private ListView GetBoundsListView(
View
view, bool showGroups, bool virtualMode)
System\Windows\Forms\AccessibleObjects\ListViewItem.ListViewItemBaseAccessibleObjectTests.cs (14)
192
[InlineData(
View
.Details)]
193
[InlineData(
View
.Tile)]
194
[InlineData(
View
.List)]
195
[InlineData(
View
.SmallIcon)]
196
[InlineData(
View
.LargeIcon)]
197
public void ListViewItemBaseAccessibleObject_GetChild_ReturnsNull_IfViewIsNotDetailsOrTile(
View
view)
210
[InlineData(
View
.Details)]
211
[InlineData(
View
.Tile)]
212
[InlineData(
View
.List)]
213
[InlineData(
View
.SmallIcon)]
214
[InlineData(
View
.LargeIcon)]
215
public void ListViewItemBaseAccessibleObject_GetChildCount_ReturnsNull_IfViewIsNotDetailsOrTile(
View
view)
404
protected override
View
View =>
View
.List;
System\Windows\Forms\AccessibleObjects\ListViewItem.ListViewItemDetailsAccessibleObjectTests.cs (9)
21
using ListView control = new() { View =
View
.Details };
36
using ListView control = new() { View =
View
.Details };
52
using ListView control = new() { View =
View
.Details };
68
using ListView control = new() { View =
View
.Details };
86
using ListView control = new() { View =
View
.Details };
99
using ListView control = new() { View =
View
.Details };
114
using ListView control = new() { View =
View
.Details };
138
View =
View
.Details
171
listView1.View =
View
.Details;
System\Windows\Forms\AccessibleObjects\ListViewItem.ListViewItemImageAccessibleObjectTests.cs (2)
20
View =
View
.Details,
46
View =
View
.Details,
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.ListViewItemWithImageAccessibleObjectTests.cs (9)
13
public void ListViewItemListAccessibleObject_FragmentNavigate_Children_ReturnsNull_WithoutImage(
View
view)
28
public void ListViewItemListAccessibleObject_FragmentNavigate_Children_IsExpected_WithImage(
View
view)
59
public void ListViewItemListAccessibleObject_GetChild_ReturnsNull_WithoutImage(
View
view)
73
public void ListViewItemListAccessibleObject_GetChild_IsExpected_WithImage(
View
view)
95
public void ListViewItemListAccessibleObject_GetChildCount_WithoutImage(
View
view)
110
public void ListViewItemListAccessibleObject_GetChildCount_WithImage(
View
view)
131
public static TheoryData<
View
> GetViewTheoryData()
135
View
.LargeIcon,
136
View
.SmallIcon
System\Windows\Forms\AccessibleObjects\ListViewItem.ListViewSubItem.ListViewSubItemAccessibleObjectTests.cs (55)
36
list.View =
View
.Details;
73
list.View =
View
.Details;
96
[InlineData(
View
.Details)]
97
[InlineData(
View
.LargeIcon)]
98
[InlineData(
View
.List)]
99
[InlineData(
View
.SmallIcon)]
100
[InlineData(
View
.Tile)]
101
public void ListViewSubItemAccessibleObject_GetPropertyValue_GridTablePattern_ReturnsExpected(
View
view)
108
Assert.Equal(view ==
View
.Details, (bool)accessibleObject.GetPropertyValue(UIA_PROPERTY_ID.UIA_IsGridItemPatternAvailablePropertyId));
109
Assert.Equal(view ==
View
.Details, (bool)accessibleObject.GetPropertyValue(UIA_PROPERTY_ID.UIA_IsTableItemPatternAvailablePropertyId));
114
foreach (
View
view in new[] {
View
.List,
View
.LargeIcon,
View
.SmallIcon,
View
.Tile })
121
if (view ==
View
.Tile && virtualMode)
137
public void ListViewSubItemAccessibleObject_FragmentNavigate_ReturnsNull_List_Icon_Tile_View(
View
view, bool createControl, bool virtualMode, bool showGroups)
184
public void ListViewSubItemAccessibleObject_Bounds_ReturnsEmptyRectangle_List_Icon_Tile_View(
View
view, bool createControl, bool virtualMode, bool showGroups)
216
using ListView listView = GetListViewWithSubItemData(
View
.Details, createControl: true, virtualMode, showGroups, columnCount: 3, subItemCount: 2);
246
using ListView listView = GetListViewWithSubItemData(
View
.Details, createControl: false, virtualMode, showGroups, columnCount: 3, subItemCount: 2);
287
using ListView listView = GetListViewWithSubItemData(
View
.Details, createControl, virtualMode, showGroups, columnCount: 3, subItemCount: 2);
323
using ListView listView = GetListViewWithSubItemData(
View
.Tile, createControl, virtualMode: false, showGroups, columnCount: 3, subItemCount: 2);
356
using ListView listView = GetListViewWithSubItemData(
View
.Details, createControl, virtualMode, showGroups, columnCount: 2, subItemCount: 5);
382
using ListView listView = GetListViewWithSubItemData(
View
.Details, createControl, virtualMode, showGroups, columnCount: 5, subItemCount: 0);
408
using ListView listView = GetListViewWithSubItemData(
View
.Details, createControl, virtualMode, showGroups, columnCount: 5, subItemCount: 0);
427
using ListView listView = GetListViewWithSubItemData(
View
.Details, createControl, virtualMode, showGroups, columnCount: 4, subItemCount: 3);
461
using ListView listView = GetListViewWithSubItemData(
View
.Details, createControl, virtualMode, showGroups, columnCount: 2, subItemCount: 0);
484
using ListView listView = GetListViewWithSubItemData(
View
.Details, createControl, virtualMode, showGroups, columnCount: 3, subItemCount: 0);
507
using ListView listView = GetListViewWithSubItemData(
View
.Details, createControl, virtualMode, showGroups, columnCount: 2, subItemCount: 1);
530
using ListView listView = GetListViewWithSubItemData(
View
.Details, createControl, virtualMode, showGroups, columnCount: 3, subItemCount: 1);
553
using ListView listView = GetListViewWithSubItemData(
View
.Details, createControl, virtualMode, showGroups, columnCount: 5, subItemCount: 0);
591
using ListView listView = GetListViewWithSubItemData(
View
.Details, createControl, virtualMode, showGroups, columnCount: 5, subItemCount: 0);
648
list.View =
View
.Details;
678
using ListView list = new() { View =
View
.Details };
709
[InlineData(
View
.LargeIcon, true)]
710
[InlineData(
View
.LargeIcon, false)]
711
[InlineData(
View
.List, true)]
712
[InlineData(
View
.List, false)]
713
[InlineData(
View
.SmallIcon, true)]
714
[InlineData(
View
.SmallIcon, false)]
715
[InlineData(
View
.Tile, true)]
716
[InlineData(
View
.Tile, false)]
717
public void ListViewSubItemAccessibleObject_ColumnProperty_ReturnMinusOne_ForNotTableView(
View
view, bool createControl)
772
list.View =
View
.Details;
787
View
view,
872
View =
View
.Details,
893
View =
View
.Details,
970
using ListView listView = new() { View =
View
.Details };
984
View
.Details,
1000
View
.Details,
1027
[InlineData(
View
.LargeIcon)]
1028
[InlineData(
View
.List)]
1029
[InlineData(
View
.SmallIcon)]
1030
[InlineData(
View
.Tile)]
1031
public void ListViewSubItemAccessibleObject_GetColumnHeaderItems_ReturnsNull_NoColumsViews(
View
view)
System\Windows\Forms\AccessibleObjects\ListViewLabelEditAccessibleObjectTests.cs (1)
157
View =
View
.Details,
System\Windows\Forms\ColumnHeaderCollectionTests.cs (3)
479
View =
View
.Tile
504
View =
View
.Tile
1006
View =
View
.Tile
System\Windows\Forms\ColumnHeaderTests.cs (3)
1252
View =
View
.Details
1355
View =
View
.Details
1373
View =
View
.Details
System\Windows\Forms\ControlTests.cs (1)
1057
listView1.View =
View
.List;
System\Windows\Forms\DrawListViewItemEventArgsTests.cs (4)
82
foreach (
View
view in new
View
[] {
View
.Details,
View
.List })
System\Windows\Forms\ListViewItem.IKeyboardToolTipTests.cs (37)
135
[InlineData(true,
View
.List, 50, 50)]
136
[InlineData(false,
View
.List, 50, 50)]
137
[InlineData(true,
View
.Details, 46, 48)]
138
[InlineData(false,
View
.Details, 46, 48)]
141
View
view,
156
[InlineData(true,
View
.List)]
157
[InlineData(false,
View
.List)]
158
[InlineData(true,
View
.Details)]
159
[InlineData(false,
View
.Details)]
162
View
view)
180
using var listView = GetListView(virtualMode: false, view:
View
.Tile);
196
using var listView = GetListView(virtualMode: false, view:
View
.Tile);
219
using var listView = GetListView(virtualMode, view:
View
.List);
228
using var listView = GetListView(virtualMode: false, view:
View
.Tile);
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));
410
using var listView = GetListView(virtualMode: false, view:
View
.SmallIcon, size: new Size(220, 150));
429
using var listView = GetListView(virtualMode: false, view:
View
.SmallIcon, size: new Size(220, 150));
450
using var listView = GetListView(virtualMode: false, view:
View
.SmallIcon, size: new Size(220, 150));
470
using var listView = GetListView(virtualMode: false, view:
View
.SmallIcon, size: new Size(220, 150));
491
using var listView = GetListView(virtualMode: false, view:
View
.SmallIcon, size: new Size(220, 150));
513
using var listView = GetListView(virtualMode: false, view:
View
.SmallIcon, size: new Size(220, 150));
534
using var listView = GetListView(virtualMode: false, view:
View
.SmallIcon, size: new Size(220, 150));
554
using var listView = GetListView(virtualMode: false, view:
View
.SmallIcon, size: new Size(220, 150));
574
using var listView = GetListView(virtualMode: false, view:
View
.SmallIcon, size: new Size(220, 150));
590
using var listView = GetListView(virtualMode: virtualMode, view:
View
.Details, virtualListSize: 3);
607
using var listView = GetListView(virtualMode: virtualMode, view:
View
.Details, virtualListSize: 3);
625
using var listView = GetListView(virtualMode: virtualMode, view:
View
.Details, virtualListSize: 3);
808
View
view =
View
.LargeIcon,
System\Windows\Forms\ListViewTests.cs (672)
147
Assert.Equal(
View
.LargeIcon, control.View);
803
yield return new object[] { useCompatibleStateImageBehavior,
View
.Details, alignment, imageListFactory(), value };
804
yield return new object[] { useCompatibleStateImageBehavior,
View
.LargeIcon, alignment, imageListFactory(), value };
805
yield return new object[] { useCompatibleStateImageBehavior,
View
.List, alignment, imageListFactory(), value };
806
yield return new object[] { useCompatibleStateImageBehavior,
View
.SmallIcon, alignment, imageListFactory(), value };
815
public void ListView_CheckBoxes_Set_GetReturnsExpected(bool useCompatibleStateImageBehavior,
View
view, ListViewAlignment alignment, ImageList stateImageList, bool value)
841
public void ListView_CheckBoxes_SetAutoArrange_GetReturnsExpected(bool useCompatibleStateImageBehavior,
View
view, ListViewAlignment alignment, ImageList stateImageList, bool value)
907
yield return new object[] { true,
View
.Details, alignment, imageListFactory(), true, 1, 0, 2, 0 };
908
yield return new object[] { true,
View
.LargeIcon, alignment, imageListFactory(), true, 1, 0, 2, 0 };
909
yield return new object[] { true,
View
.List, alignment, imageListFactory(), true, 1, 0, 2, 0 };
910
yield return new object[] { true,
View
.SmallIcon, alignment, imageListFactory(), true, 1, 0, 2, 0 };
911
yield return new object[] { true,
View
.Details, alignment, imageListFactory(), false, 0, 0, 1, 0 };
912
yield return new object[] { true,
View
.LargeIcon, alignment, imageListFactory(), false, 0, 0, 1, 0 };
913
yield return new object[] { true,
View
.List, alignment, imageListFactory(), false, 0, 0, 1, 0 };
914
yield return new object[] { true,
View
.SmallIcon, alignment, imageListFactory(), false, 0, 0, 1, 0 };
919
yield return new object[] { false,
View
.Details, alignment, null, true, 1, 0, 2, 0 };
920
yield return new object[] { false,
View
.LargeIcon, alignment, null, true, 2, 1, 3, 1 };
921
yield return new object[] { false,
View
.List, alignment, null, true, 1, 1, 2, 1 };
922
yield return new object[] { false,
View
.SmallIcon, alignment, null, true, 2, 1, 3, 1 };
923
yield return new object[] { false,
View
.Details, alignment, null, false, 0, 0, 1, 0 };
924
yield return new object[] { false,
View
.LargeIcon, alignment, null, false, 0, 0, 2, 1 };
925
yield return new object[] { false,
View
.List, alignment, null, false, 0, 0, 1, 1 };
926
yield return new object[] { false,
View
.SmallIcon, alignment, null, false, 0, 0, 2, 1 };
928
yield return new object[] { false,
View
.Details, alignment, new ImageList(), true, 1, 0, 2, 1 };
929
yield return new object[] { false,
View
.LargeIcon, alignment, new ImageList(), true, 2, 1, 4, 2 };
930
yield return new object[] { false,
View
.List, alignment, new ImageList(), true, 1, 1, 2, 2 };
931
yield return new object[] { false,
View
.SmallIcon, alignment, new ImageList(), true, 2, 1, 4, 2 };
932
yield return new object[] { false,
View
.Details, alignment, new ImageList(), false, 0, 0, 1, 0 };
933
yield return new object[] { false,
View
.LargeIcon, alignment, new ImageList(), false, 0, 0, 2, 1 };
934
yield return new object[] { false,
View
.List, alignment, new ImageList(), false, 0, 0, 1, 1 };
935
yield return new object[] { false,
View
.SmallIcon, alignment, new ImageList(), false, 0, 0, 2, 1 };
941
yield return new object[] { false,
View
.Details, ListViewAlignment.Left, imageListFactory(), true, 1, 0, 2, 1 };
942
yield return new object[] { false,
View
.LargeIcon, ListViewAlignment.Left, imageListFactory(), true, 2, 1, 4, 2 };
943
yield return new object[] { false,
View
.List, ListViewAlignment.Left, imageListFactory(), true, 1, 1, 2, 2 };
944
yield return new object[] { false,
View
.SmallIcon, ListViewAlignment.Left, imageListFactory(), true, 2, 1, 4, 2 };
945
yield return new object[] { false,
View
.Details, ListViewAlignment.Left, imageListFactory(), false, 0, 0, 1, 0 };
946
yield return new object[] { false,
View
.LargeIcon, ListViewAlignment.Left, imageListFactory(), false, 0, 0, 2, 1 };
947
yield return new object[] { false,
View
.List, ListViewAlignment.Left, imageListFactory(), false, 0, 0, 1, 1 };
948
yield return new object[] { false,
View
.SmallIcon, ListViewAlignment.Left, imageListFactory(), false, 0, 0, 2, 1 };
954
public void ListView_CheckBoxes_SetWithHandle_GetReturnsExpected(bool useCompatibleStateImageBehavior,
View
view, ListViewAlignment alignment, ImageList stateImageList, bool value, int expectedInvalidatedCallCount1, int expectedCreatedCallCount1, int expectedInvalidatedCallCount2, int expectedCreatedCallCount2)
997
public void ListView_CheckBoxes_SetAutoArrangeWithHandle_GetReturnsExpected(bool useCompatibleStateImageBehavior,
View
view, ListViewAlignment alignment, ImageList stateImageList, bool value, int expectedInvalidatedCallCount1, int expectedCreatedCallCount1, int expectedInvalidatedCallCount2, int expectedCreatedCallCount2)
1082
View =
View
.Tile
1541
foreach (
View
view in new
View
[] {
View
.Details,
View
.LargeIcon,
View
.List,
View
.SmallIcon })
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() };
1557
public void ListView_GroupImageList_Set_GetReturnsExpected(bool autoArrange, bool virtualMode,
View
view, ImageList value)
1578
public void ListView_GroupImageList_SetWithNonNullOldValue_GetReturnsExpected(bool autoArrange, bool virtualMode,
View
view, ImageList value)
1601
yield return new object[] { true, false,
View
.Details, null };
1602
yield return new object[] { true, false,
View
.Details, new ImageList() };
1603
yield return new object[] { true, false,
View
.Details, CreateImageListNonEmpty() };
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() };
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() };
1610
yield return new object[] { true, false,
View
.SmallIcon, null };
1611
yield return new object[] { true, false,
View
.SmallIcon, new ImageList() };
1612
yield return new object[] { true, false,
View
.SmallIcon, 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() };
1619
yield return new object[] { autoArrange, true,
View
.Details, null };
1620
yield return new object[] { autoArrange, true,
View
.Details, new ImageList() };
1621
yield return new object[] { autoArrange, true,
View
.Details, 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() };
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() };
1628
yield return new object[] { autoArrange, true,
View
.SmallIcon, null };
1629
yield return new object[] { autoArrange, true,
View
.SmallIcon, new ImageList() };
1630
yield return new object[] { autoArrange, true,
View
.SmallIcon, CreateImageListNonEmpty() };
1633
yield return new object[] { false, false,
View
.Details, null };
1634
yield return new object[] { false, false,
View
.Details, new ImageList() };
1635
yield return new object[] { false, false,
View
.Details, 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() };
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() };
1642
yield return new object[] { false, false,
View
.SmallIcon, null };
1643
yield return new object[] { false, false,
View
.SmallIcon, new ImageList() };
1644
yield return new object[] { false, false,
View
.SmallIcon, 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() };
1652
public void ListView_GroupImageList_SetWithHandle_GetReturnsExpected(bool autoArrange, bool virtualMode,
View
view, ImageList value)
1687
yield return new object[] { true, false,
View
.Details, null };
1688
yield return new object[] { true, false,
View
.Details, new ImageList() };
1689
yield return new object[] { true, false,
View
.Details, 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() };
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() };
1696
yield return new object[] { true, false,
View
.SmallIcon, null };
1697
yield return new object[] { true, false,
View
.SmallIcon, new ImageList() };
1698
yield return new object[] { true, false,
View
.SmallIcon, 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() };
1705
yield return new object[] { autoArrange, true,
View
.Details, null };
1706
yield return new object[] { autoArrange, true,
View
.Details, new ImageList() };
1707
yield return new object[] { autoArrange, true,
View
.Details, 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() };
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() };
1714
yield return new object[] { autoArrange, true,
View
.SmallIcon, null };
1715
yield return new object[] { autoArrange, true,
View
.SmallIcon, new ImageList() };
1716
yield return new object[] { autoArrange, true,
View
.SmallIcon, CreateImageListNonEmpty() };
1719
yield return new object[] { false, false,
View
.Details, null };
1720
yield return new object[] { false, false,
View
.Details, new ImageList() };
1721
yield return new object[] { false, false,
View
.Details, 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() };
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() };
1728
yield return new object[] { false, false,
View
.SmallIcon, null };
1729
yield return new object[] { false, false,
View
.SmallIcon, new ImageList() };
1730
yield return new object[] { false, false,
View
.SmallIcon, 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() };
1738
public void ListView_GroupImageList_SetWithHandleWithNonNullOldValue_GetReturnsExpected(bool autoArrange, bool virtualMode,
View
view, ImageList value)
2486
foreach (
View
view in new
View
[] {
View
.Details,
View
.LargeIcon,
View
.List,
View
.SmallIcon })
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() };
2502
public void ListView_LargeImageList_Set_GetReturnsExpected(bool autoArrange, bool virtualMode,
View
view, ImageList value)
2522
public void ListView_LargeImageList_SetWithNonNullOldValue_GetReturnsExpected(bool autoArrange, bool virtualMode,
View
view, ImageList value)
2545
yield return new object[] { true, false,
View
.Details, null, 0 };
2546
yield return new object[] { true, false,
View
.Details, new ImageList(), 0 };
2547
yield return new object[] { true, false,
View
.Details, CreateImageListNonEmpty(), 0 };
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 };
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 };
2554
yield return new object[] { true, false,
View
.SmallIcon, null, 0 };
2555
yield return new object[] { true, false,
View
.SmallIcon, new ImageList(), 1 };
2556
yield return new object[] { true, false,
View
.SmallIcon, CreateImageListNonEmpty(), 1 };
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 };
2563
yield return new object[] { autoArrange, true,
View
.Details, null, 0 };
2564
yield return new object[] { autoArrange, true,
View
.Details, new ImageList(), 0 };
2565
yield return new object[] { autoArrange, true,
View
.Details, CreateImageListNonEmpty(), 0 };
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 };
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 };
2572
yield return new object[] { autoArrange, true,
View
.SmallIcon, null, 0 };
2573
yield return new object[] { autoArrange, true,
View
.SmallIcon, new ImageList(), 0 };
2574
yield return new object[] { autoArrange, true,
View
.SmallIcon, CreateImageListNonEmpty(), 0 };
2577
yield return new object[] { false, false,
View
.Details, null, 0 };
2578
yield return new object[] { false, false,
View
.Details, new ImageList(), 0 };
2579
yield return new object[] { false, false,
View
.Details, 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 };
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 };
2586
yield return new object[] { false, false,
View
.SmallIcon, null, 0 };
2587
yield return new object[] { false, false,
View
.SmallIcon, new ImageList(), 0 };
2588
yield return new object[] { false, false,
View
.SmallIcon, 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 };
2596
public void ListView_LargeImageList_SetWithHandle_GetReturnsExpected(bool autoArrange, bool virtualMode,
View
view, ImageList value, int expectedInvalidatedCallCount)
2630
yield return new object[] { true, false,
View
.Details, null, 0 };
2631
yield return new object[] { true, false,
View
.Details, new ImageList(), 0 };
2632
yield return new object[] { true, false,
View
.Details, 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 };
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 };
2639
yield return new object[] { true, false,
View
.SmallIcon, null, 1 };
2640
yield return new object[] { true, false,
View
.SmallIcon, new ImageList(), 1 };
2641
yield return new object[] { true, false,
View
.SmallIcon, CreateImageListNonEmpty(), 1 };
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 };
2648
yield return new object[] { autoArrange, true,
View
.Details, null, 0 };
2649
yield return new object[] { autoArrange, true,
View
.Details, new ImageList(), 0 };
2650
yield return new object[] { autoArrange, true,
View
.Details, CreateImageListNonEmpty(), 0 };
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 };
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 };
2657
yield return new object[] { autoArrange, true,
View
.SmallIcon, null, 0 };
2658
yield return new object[] { autoArrange, true,
View
.SmallIcon, new ImageList(), 0 };
2659
yield return new object[] { autoArrange, true,
View
.SmallIcon, CreateImageListNonEmpty(), 0 };
2662
yield return new object[] { false, false,
View
.Details, null, 0 };
2663
yield return new object[] { false, false,
View
.Details, new ImageList(), 0 };
2664
yield return new object[] { false, false,
View
.Details, 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 };
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 };
2671
yield return new object[] { false, false,
View
.SmallIcon, null, 0 };
2672
yield return new object[] { false, false,
View
.SmallIcon, new ImageList(), 0 };
2673
yield return new object[] { false, false,
View
.SmallIcon, 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 };
2681
public void ListView_LargeImageList_SetWithHandleWithNonNullOldValue_GetReturnsExpected(bool autoArrange, bool virtualMode,
View
view, ImageList value, int expectedInvalidatedCallCount)
3150
foreach (
View
view in new
View
[] {
View
.Details,
View
.LargeIcon,
View
.List,
View
.SmallIcon })
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() };
3166
public void ListView_SmallImageList_Set_GetReturnsExpected(bool autoArrange, bool virtualMode,
View
view, ImageList value)
3186
public void ListView_SmallImageList_SetWithNonNullOldValue_GetReturnsExpected(bool autoArrange, bool virtualMode,
View
view, ImageList value)
3209
yield return new object[] { true, false,
View
.Details, null, 0, 0 };
3210
yield return new object[] { true, false,
View
.Details, new ImageList(), 1, 0 };
3211
yield return new object[] { true, false,
View
.Details, CreateImageListNonEmpty(), 1, 0 };
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 };
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 };
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 };
3224
yield return new object[] { autoArrange, true,
View
.Details, null, 0, 0 };
3225
yield return new object[] { autoArrange, true,
View
.Details, new ImageList(), 1, 0 };
3226
yield return new object[] { autoArrange, true,
View
.Details, 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 };
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 };
3235
yield return new object[] { false, false,
View
.Details, null, 0, 0 };
3236
yield return new object[] { false, false,
View
.Details, new ImageList(), 1, 0 };
3237
yield return new object[] { false, false,
View
.Details, CreateImageListNonEmpty(), 1, 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 };
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 };
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 };
3250
yield return new object[] { true, false,
View
.SmallIcon, null, 0, 0 };
3251
yield return new object[] { true, false,
View
.SmallIcon, new ImageList(), 2, 0 };
3252
yield return new object[] { true, false,
View
.SmallIcon, CreateImageListNonEmpty(), 2, 0 };
3256
yield return new object[] { autoArrange, true,
View
.SmallIcon, null, 0, 0 };
3257
yield return new object[] { autoArrange, true,
View
.SmallIcon, new ImageList(), 0, 0 };
3258
yield return new object[] { autoArrange, true,
View
.SmallIcon, CreateImageListNonEmpty(), 0, 0 };
3261
yield return new object[] { false, false,
View
.SmallIcon, null, 0, 0 };
3262
yield return new object[] { false, false,
View
.SmallIcon, new ImageList(), 0, 0 };
3263
yield return new object[] { false, false,
View
.SmallIcon, CreateImageListNonEmpty(), 0, 0 };
3267
yield return new object[] { true, false,
View
.SmallIcon, null, 0, 0 };
3268
yield return new object[] { true, false,
View
.SmallIcon, new ImageList(), 4, 2 };
3269
yield return new object[] { true, false,
View
.SmallIcon, CreateImageListNonEmpty(), 4, 2 };
3273
yield return new object[] { autoArrange, true,
View
.SmallIcon, null, 0, 0 };
3274
yield return new object[] { autoArrange, true,
View
.SmallIcon, new ImageList(), 2, 2 };
3275
yield return new object[] { autoArrange, true,
View
.SmallIcon, CreateImageListNonEmpty(), 2, 2 };
3278
yield return new object[] { false, false,
View
.SmallIcon, null, 0, 0 };
3279
yield return new object[] { false, false,
View
.SmallIcon, new ImageList(), 2, 2 };
3280
yield return new object[] { false, false,
View
.SmallIcon, CreateImageListNonEmpty(), 2, 2 };
3286
public void ListView_SmallImageList_SetWithHandle_GetReturnsExpected(bool autoArrange, bool virtualMode,
View
view, ImageList value, int expectedInvalidatedCallCount, int expectedStyleChangedCallCount)
3320
yield return new object[] { true, false,
View
.Details, null, 1, 0 };
3321
yield return new object[] { true, false,
View
.Details, new ImageList(), 1, 0 };
3322
yield return new object[] { true, false,
View
.Details, CreateImageListNonEmpty(), 1, 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 };
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 };
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 };
3335
yield return new object[] { autoArrange, true,
View
.Details, null, 1, 0 };
3336
yield return new object[] { autoArrange, true,
View
.Details, new ImageList(), 1, 0 };
3337
yield return new object[] { autoArrange, true,
View
.Details, 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 };
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 };
3346
yield return new object[] { false, false,
View
.Details, null, 1, 0 };
3347
yield return new object[] { false, false,
View
.Details, new ImageList(), 1, 0 };
3348
yield return new object[] { false, false,
View
.Details, CreateImageListNonEmpty(), 1, 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 };
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 };
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 };
3361
yield return new object[] { true, false,
View
.SmallIcon, null, 2, 0 };
3362
yield return new object[] { true, false,
View
.SmallIcon, new ImageList(), 2, 0 };
3363
yield return new object[] { true, false,
View
.SmallIcon, CreateImageListNonEmpty(), 2, 0 };
3367
yield return new object[] { autoArrange, true,
View
.SmallIcon, null, 0, 0 };
3368
yield return new object[] { autoArrange, true,
View
.SmallIcon, new ImageList(), 0, 0 };
3369
yield return new object[] { autoArrange, true,
View
.SmallIcon, CreateImageListNonEmpty(), 0, 0 };
3372
yield return new object[] { false, false,
View
.SmallIcon, null, 0, 0 };
3373
yield return new object[] { false, false,
View
.SmallIcon, new ImageList(), 0, 0 };
3374
yield return new object[] { false, false,
View
.SmallIcon, CreateImageListNonEmpty(), 0, 0 };
3378
yield return new object[] { true, false,
View
.SmallIcon, null, 4, 2 };
3379
yield return new object[] { true, false,
View
.SmallIcon, new ImageList(), 4, 2 };
3380
yield return new object[] { true, false,
View
.SmallIcon, CreateImageListNonEmpty(), 4, 2 };
3384
yield return new object[] { autoArrange, true,
View
.SmallIcon, null, 2, 2 };
3385
yield return new object[] { autoArrange, true,
View
.SmallIcon, new ImageList(), 2, 2 };
3386
yield return new object[] { autoArrange, true,
View
.SmallIcon, CreateImageListNonEmpty(), 2, 2 };
3389
yield return new object[] { false, false,
View
.SmallIcon, null, 2, 2 };
3390
yield return new object[] { false, false,
View
.SmallIcon, new ImageList(), 2, 2 };
3391
yield return new object[] { false, false,
View
.SmallIcon, CreateImageListNonEmpty(), 2, 2 };
3397
public void ListView_SmallImageList_SetWithHandleWithNonNullOldValue_GetReturnsExpected(bool autoArrange, bool virtualMode,
View
view, ImageList value, int expectedInvalidatedCallCount, int expectedStyleChangedCallCount)
3507
foreach (
View
view in new
View
[] {
View
.Details,
View
.LargeIcon,
View
.List,
View
.SmallIcon })
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() };
3529
public void ListView_StateImageList_Set_GetReturnsExpected(bool useCompatibleStateImageBehavior, bool checkBoxes, bool autoArrange, bool virtualMode,
View
view, ImageList value)
3551
public void ListView_StateImageList_SetWithNonNullOldValue_GetReturnsExpected(bool useCompatibleStateImageBehavior, bool checkBoxes, bool autoArrange, bool virtualMode,
View
view, ImageList value)
3579
yield return new object[] { true, checkBoxes, true, false,
View
.Details, null, 0, 0 };
3580
yield return new object[] { true, checkBoxes, true, false,
View
.Details, new ImageList(), 0, 0 };
3581
yield return new object[] { true, checkBoxes, true, false,
View
.Details, CreateImageListNonEmpty(), 0, 0 };
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 };
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 };
3588
yield return new object[] { true, checkBoxes, true, false,
View
.SmallIcon, null, 0, 0 };
3589
yield return new object[] { true, checkBoxes, true, false,
View
.SmallIcon, new ImageList(), 0, 0 };
3590
yield return new object[] { true, checkBoxes, true, false,
View
.SmallIcon, CreateImageListNonEmpty(), 0, 0 };
3594
yield return new object[] { true, checkBoxes, autoArrange, true,
View
.Details, null, 0, 0 };
3595
yield return new object[] { true, checkBoxes, autoArrange, true,
View
.Details, new ImageList(), 0, 0 };
3596
yield return new object[] { true, checkBoxes, autoArrange, true,
View
.Details, 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 };
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 };
3603
yield return new object[] { true, checkBoxes, autoArrange, true,
View
.SmallIcon, null, 0, 0 };
3604
yield return new object[] { true, checkBoxes, autoArrange, true,
View
.SmallIcon, new ImageList(), 0, 0 };
3605
yield return new object[] { true, checkBoxes, autoArrange, true,
View
.SmallIcon, CreateImageListNonEmpty(), 0, 0 };
3608
yield return new object[] { true, checkBoxes, false, false,
View
.Details, null, 0, 0 };
3609
yield return new object[] { true, checkBoxes, false, false,
View
.Details, new ImageList(), 0, 0 };
3610
yield return new object[] { true, checkBoxes, false, false,
View
.Details, 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 };
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 };
3617
yield return new object[] { true, checkBoxes, false, false,
View
.SmallIcon, null, 0, 0 };
3618
yield return new object[] { true, checkBoxes, false, false,
View
.SmallIcon, new ImageList(), 0, 0 };
3619
yield return new object[] { true, checkBoxes, false, false,
View
.SmallIcon, CreateImageListNonEmpty(), 0, 0 };
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 };
3631
yield return new object[] { false, true, true, false,
View
.Details, null, 0, 0 };
3632
yield return new object[] { false, true, true, false,
View
.Details, new ImageList(), 1, 1 };
3633
yield return new object[] { false, true, true, false,
View
.Details, CreateImageListNonEmpty(), 1, 1 };
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 };
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 };
3640
yield return new object[] { false, true, true, false,
View
.SmallIcon, null, 0, 0 };
3641
yield return new object[] { false, true, true, false,
View
.SmallIcon, new ImageList(), 3, 1 };
3642
yield return new object[] { false, true, true, false,
View
.SmallIcon, CreateImageListNonEmpty(), 3, 1 };
3646
yield return new object[] { false, true, autoArrange, true,
View
.Details, null, 0, 0 };
3647
yield return new object[] { false, true, autoArrange, true,
View
.Details, new ImageList(), 1, 1 };
3648
yield return new object[] { false, true, autoArrange, true,
View
.Details, CreateImageListNonEmpty(), 1, 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 };
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 };
3655
yield return new object[] { false, true, autoArrange, true,
View
.SmallIcon, null, 0, 0 };
3656
yield return new object[] { false, true, autoArrange, true,
View
.SmallIcon, new ImageList(), 1, 1 };
3657
yield return new object[] { false, true, autoArrange, true,
View
.SmallIcon, CreateImageListNonEmpty(), 1, 1 };
3660
yield return new object[] { false, true, false, false,
View
.Details, null, 0, 0 };
3661
yield return new object[] { false, true, false, false,
View
.Details, new ImageList(), 1, 1 };
3662
yield return new object[] { false, true, false, false,
View
.Details, 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 };
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 };
3669
yield return new object[] { false, true, false, false,
View
.SmallIcon, null, 0, 0 };
3670
yield return new object[] { false, true, false, false,
View
.SmallIcon, new ImageList(), 1, 1 };
3671
yield return new object[] { false, true, false, false,
View
.SmallIcon, CreateImageListNonEmpty(), 1, 1 };
3674
yield return new object[] { false, false, true, false,
View
.Details, null, 0, 0 };
3675
yield return new object[] { false, false, true, false,
View
.Details, new ImageList(), 0, 0 };
3676
yield return new object[] { false, false, true, false,
View
.Details, CreateImageListNonEmpty(), 0, 0 };
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 };
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 };
3683
yield return new object[] { false, false, true, false,
View
.SmallIcon, null, 0, 0 };
3684
yield return new object[] { false, false, true, false,
View
.SmallIcon, new ImageList(), 1, 0 };
3685
yield return new object[] { false, false, true, false,
View
.SmallIcon, CreateImageListNonEmpty(), 1, 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 };
3692
yield return new object[] { false, false, autoArrange, true,
View
.Details, null, 0, 0 };
3693
yield return new object[] { false, false, autoArrange, true,
View
.Details, new ImageList(), 0, 0 };
3694
yield return new object[] { false, false, autoArrange, true,
View
.Details, CreateImageListNonEmpty(), 0, 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 };
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 };
3701
yield return new object[] { false, false, autoArrange, true,
View
.SmallIcon, null, 0, 0 };
3702
yield return new object[] { false, false, autoArrange, true,
View
.SmallIcon, new ImageList(), 0, 0 };
3703
yield return new object[] { false, false, autoArrange, true,
View
.SmallIcon, CreateImageListNonEmpty(), 0, 0 };
3706
yield return new object[] { false, false, false, false,
View
.Details, null, 0, 0 };
3707
yield return new object[] { false, false, false, false,
View
.Details, new ImageList(), 0, 0 };
3708
yield return new object[] { false, false, false, false,
View
.Details, 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 };
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 };
3715
yield return new object[] { false, false, false, false,
View
.SmallIcon, null, 0, 0 };
3716
yield return new object[] { false, false, false, false,
View
.SmallIcon, new ImageList(), 0, 0 };
3717
yield return new object[] { false, false, false, false,
View
.SmallIcon, 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 };
3725
public void ListView_StateImageList_SetWithHandle_GetReturnsExpected(bool useCompatibleStateImageBehavior, bool checkBoxes, bool autoArrange, bool virtualMode,
View
view, ImageList value, int expectedInvalidatedCallCount, int expectedCreatedCallCount)
3764
yield return new object[] { true, checkBoxes, true, false,
View
.Details, null, 0, 0 };
3765
yield return new object[] { true, checkBoxes, true, false,
View
.Details, new ImageList(), 0, 0 };
3766
yield return new object[] { true, checkBoxes, true, false,
View
.Details, 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 };
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 };
3773
yield return new object[] { true, checkBoxes, true, false,
View
.SmallIcon, null, 0, 0 };
3774
yield return new object[] { true, checkBoxes, true, false,
View
.SmallIcon, new ImageList(), 0, 0 };
3775
yield return new object[] { true, checkBoxes, true, false,
View
.SmallIcon, CreateImageListNonEmpty(), 0, 0 };
3779
yield return new object[] { true, checkBoxes, autoArrange, true,
View
.Details, null, 0, 0 };
3780
yield return new object[] { true, checkBoxes, autoArrange, true,
View
.Details, new ImageList(), 0, 0 };
3781
yield return new object[] { true, checkBoxes, autoArrange, true,
View
.Details, 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 };
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 };
3788
yield return new object[] { true, checkBoxes, autoArrange, true,
View
.SmallIcon, null, 0, 0 };
3789
yield return new object[] { true, checkBoxes, autoArrange, true,
View
.SmallIcon, new ImageList(), 0, 0 };
3790
yield return new object[] { true, checkBoxes, autoArrange, true,
View
.SmallIcon, CreateImageListNonEmpty(), 0, 0 };
3793
yield return new object[] { true, checkBoxes, false, false,
View
.Details, null, 0, 0 };
3794
yield return new object[] { true, checkBoxes, false, false,
View
.Details, new ImageList(), 0, 0 };
3795
yield return new object[] { true, checkBoxes, false, false,
View
.Details, 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 };
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 };
3802
yield return new object[] { true, checkBoxes, false, false,
View
.SmallIcon, null, 0, 0 };
3803
yield return new object[] { true, checkBoxes, false, false,
View
.SmallIcon, new ImageList(), 0, 0 };
3804
yield return new object[] { true, checkBoxes, false, false,
View
.SmallIcon, 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 };
3816
yield return new object[] { false, true, true, false,
View
.Details, null, 1, 1 };
3817
yield return new object[] { false, true, true, false,
View
.Details, new ImageList(), 1, 1 };
3818
yield return new object[] { false, true, true, false,
View
.Details, CreateImageListNonEmpty(), 1, 1 };
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 };
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 };
3825
yield return new object[] { false, true, true, false,
View
.SmallIcon, null, 3, 1 };
3826
yield return new object[] { false, true, true, false,
View
.SmallIcon, new ImageList(), 3, 1 };
3827
yield return new object[] { false, true, true, false,
View
.SmallIcon, CreateImageListNonEmpty(), 3, 1 };
3831
yield return new object[] { false, true, autoArrange, true,
View
.Details, null, 1, 1 };
3832
yield return new object[] { false, true, autoArrange, true,
View
.Details, new ImageList(), 1, 1 };
3833
yield return new object[] { false, true, autoArrange, true,
View
.Details, CreateImageListNonEmpty(), 1, 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 };
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 };
3840
yield return new object[] { false, true, autoArrange, true,
View
.SmallIcon, null, 1, 1 };
3841
yield return new object[] { false, true, autoArrange, true,
View
.SmallIcon, new ImageList(), 1, 1 };
3842
yield return new object[] { false, true, autoArrange, true,
View
.SmallIcon, CreateImageListNonEmpty(), 1, 1 };
3845
yield return new object[] { false, true, false, false,
View
.Details, null, 1, 1 };
3846
yield return new object[] { false, true, false, false,
View
.Details, new ImageList(), 1, 1 };
3847
yield return new object[] { false, true, false, false,
View
.Details, 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 };
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 };
3854
yield return new object[] { false, true, false, false,
View
.SmallIcon, null, 1, 1 };
3855
yield return new object[] { false, true, false, false,
View
.SmallIcon, new ImageList(), 1, 1 };
3856
yield return new object[] { false, true, false, false,
View
.SmallIcon, CreateImageListNonEmpty(), 1, 1 };
3859
yield return new object[] { false, false, true, false,
View
.Details, null, 0, 0 };
3860
yield return new object[] { false, false, true, false,
View
.Details, new ImageList(), 0, 0 };
3861
yield return new object[] { false, false, true, false,
View
.Details, CreateImageListNonEmpty(), 0, 0 };
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 };
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 };
3868
yield return new object[] { false, false, true, false,
View
.SmallIcon, null, 1, 0 };
3869
yield return new object[] { false, false, true, false,
View
.SmallIcon, new ImageList(), 1, 0 };
3870
yield return new object[] { false, false, true, false,
View
.SmallIcon, CreateImageListNonEmpty(), 1, 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 };
3877
yield return new object[] { false, false, autoArrange, true,
View
.Details, null, 0, 0 };
3878
yield return new object[] { false, false, autoArrange, true,
View
.Details, new ImageList(), 0, 0 };
3879
yield return new object[] { false, false, autoArrange, true,
View
.Details, CreateImageListNonEmpty(), 0, 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 };
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 };
3886
yield return new object[] { false, false, autoArrange, true,
View
.SmallIcon, null, 0, 0 };
3887
yield return new object[] { false, false, autoArrange, true,
View
.SmallIcon, new ImageList(), 0, 0 };
3888
yield return new object[] { false, false, autoArrange, true,
View
.SmallIcon, CreateImageListNonEmpty(), 0, 0 };
3891
yield return new object[] { false, false, false, false,
View
.Details, null, 0, 0 };
3892
yield return new object[] { false, false, false, false,
View
.Details, new ImageList(), 0, 0 };
3893
yield return new object[] { false, false, false, false,
View
.Details, 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 };
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 };
3900
yield return new object[] { false, false, false, false,
View
.SmallIcon, null, 0, 0 };
3901
yield return new object[] { false, false, false, false,
View
.SmallIcon, new ImageList(), 0, 0 };
3902
yield return new object[] { false, false, false, false,
View
.SmallIcon, 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 };
3911
public void ListView_StateImageList_SetWithHandleWithNonNullOldValue_GetReturnsExpected(bool useCompatibleStateImageBehavior, bool checkBoxes, bool autoArrange, bool virtualMode,
View
view, ImageList value, int expectedInvalidatedCallCount, int expectedCreatedCallCount)
4299
foreach (
View
view in Enum.GetValues(typeof(
View
)))
4319
public void ListView_OnSelectedIndexChanged_Invoke(
View
view, bool showGroups, bool focused, bool selected, int expectedCallCount)
4348
foreach (
View
view in Enum.GetValues(typeof(
View
)))
4351
if (view ==
View
.Tile)
4374
public void ListView_OnSelectedIndexChanged_VirtualMode_Invoke(
View
view, bool showGroups, bool focused, bool selected, int expectedCallCount)
4443
foreach (
View
view in Enum.GetValues(typeof(
View
)))
4446
if (view ==
View
.Tile)
4463
public void ListView_Checkboxes_VirtualMode_Disabling_Succeeds(
View
view, bool showGroups, bool useCompatibleStateImageBehavior)
4688
foreach (
View
view in Enum.GetValues(typeof(
View
)))
4691
if (virtualMode && view ==
View
.Tile)
4709
public void ListView_SelectedIndexies_Contains_Invoke_ReturnExpected(
View
view, bool showGroups, bool createHandle, bool virtualMode)
4754
foreach (
View
view in Enum.GetValues(typeof(
View
)))
4757
if (virtualMode && view ==
View
.Tile)
4784
public void ListView_OnGotFocus_Invoke(
View
view, bool virtualMode, bool showGroups, bool createHandle, bool focused, int expectedCount)
5035
listView.View =
View
.SmallIcon;
5091
listView.View =
View
.SmallIcon;
5134
[InlineData(
View
.Details)]
5135
[InlineData(
View
.LargeIcon)]
5136
[InlineData(
View
.List)]
5137
[InlineData(
View
.SmallIcon)]
5138
[InlineData(
View
.Tile)]
5139
public void ListView_AnnounceColumnHeader_DoesNotWork_WithoutHandle(
View
view)
5161
[InlineData(
View
.Details)]
5162
[InlineData(
View
.LargeIcon)]
5163
[InlineData(
View
.List)]
5164
[InlineData(
View
.SmallIcon)]
5165
[InlineData(
View
.Tile)]
5166
public void ListView_AnnounceColumnHeader_DoesNotWork_WithoutHeader(
View
view)
5186
[InlineData(
View
.Details)]
5187
[InlineData(
View
.LargeIcon)]
5188
[InlineData(
View
.List)]
5189
[InlineData(
View
.SmallIcon)]
5190
[InlineData(
View
.Tile)]
5191
public void ListView_AnnounceColumnHeader_DoesNotWork_InvalidPoint(
View
view)
5219
View =
View
.Details
5319
foreach (
View
view in Enum.GetValues(typeof(
View
)))
5324
if (view ==
View
.Tile)
5342
public void ListView_OnSelectedIndexChanged_DoesNotInvoke_RaiseAutomationEvent_SecondTime(
View
view, bool virtualMode, bool showGroups, bool withinGroup)
5365
foreach (
View
view in Enum.GetValues(typeof(
View
)))
5370
if (view ==
View
.Tile)
5395
View
view,
5424
View =
View
.Details,
5496
foreach (
View
view in Enum.GetValues(typeof(
View
)))
5507
foreach (
View
view in Enum.GetValues(typeof(
View
)))
5510
if (view ==
View
.Tile)
5524
public void ListView_Remove_NotSelectedItems(
View
view, bool showGroups)
5556
public void ListView_Remove_SelectedItems(
View
view, bool showGroups)
5586
public void ListView_Remove_NotCheckedItems(
View
view, bool showGroups)
5616
public void ListView_Remove_CheckedItems(
View
view, bool showGroups)
5646
public void ListView_Remove_Group_WithNotSelectedItems(
View
view, bool showGroups)
5684
public void ListView_Remove_Group_WithSelectedItems(
View
view, bool showGroups)
5721
public void ListView_Remove_Group_WithNotCheckedItems(
View
view, bool showGroups)
5757
public void ListView_Remove_Group_WithCheckedItems(
View
view, bool showGroups)
6080
protected override
View
View =>
View
.List;
6174
private SubListView GetSubListViewWithData(
View
view, bool virtualMode, bool showGroups, bool withinGroup, bool createControl)
System.Windows.Forms.UI.IntegrationTests (4)
ListViewTests.cs (4)
30
InitializeItems(listView,
View
.Details, virtualModeEnabled, checkBoxesEnabled);
486
InitializeItems(listView,
View
.Details, virtualModeEnabled: false, checkBoxesEnabled: true);
515
private void InitializeItems(ListView listView,
View
view, bool virtualModeEnabled, bool checkBoxesEnabled)
548
listView.View =
View
.Tile;
TrimTestBinaryDeserialization (1)
Form1.Designer.cs (1)
54
listView1.View =
View
.Tile;
WinFormsControlsTest (4)
ListViewTest.cs (3)
16
listView1.View =
View
.Tile;
60
View =
View
.Details,
237
listView1.View =
View
.LargeIcon;
MultipleControls.cs (1)
25
View =
View
.Details,