176 writes 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 (7)
System\Windows\Forms\Controls\ListView\ListView.cs (4)
1459
View
= View.LargeIcon;
1460
View
= View.SmallIcon;
4245
View
= View.LargeIcon;
4246
View
= View.SmallIcon;
System\Windows\Forms\Controls\ListView\ListView.ListViewAccessibleObject.cs (1)
366
owningListView.
View
= (View)view;
System\Windows\Forms\Controls\ListView\ListView.ListViewNativeItemCollection.cs (2)
274
_owner.
View
= View.LargeIcon;
275
_owner.
View
= View.SmallIcon;
System.Windows.Forms.Design (3)
System\Windows\Forms\Design\ListViewDesigner.cs (1)
63
((ListView)Component).
View
= value;
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.Tests (153)
System\Windows\Forms\AccessibleObjects\ListVIew.ListViewAccessibleObjectTests.cs (23)
70
listView.
View
= View.Details;
260
View
= view,
341
View
= view,
383
View
= view,
444
View
= view,
506
View
= view,
577
View
= view,
632
View
= view,
712
View
= view,
794
View
= view,
846
View
= view,
915
View
= view,
952
View
= view,
971
View
= view,
1007
View
= view,
1053
View
= view,
1084
View
= view,
1147
listView.
View
= view;
1171
listView.
View
= view;
1188
listView.
View
= View.Details;
1214
listView.
View
= View.Details;
1385
View
= view,
1720
ListView listView = new() {
View
= view };
System\Windows\Forms\AccessibleObjects\ListViewGroup.ListViewGroupAccessibleObjectTests.cs (15)
136
View
= view,
206
View
= view,
369
View
= view,
464
View
= view,
500
View
= view,
582
View
= view,
659
View
= view,
702
View
= view,
1154
View
= view,
1216
using ListView listView = new() {
View
= view, ShowGroups = true };
1229
ListView listView = new() {
View
= view };
1257
View
= view,
1319
View
= view,
1399
ListView listView = new() {
View
= view };
1422
View
= view,
System\Windows\Forms\AccessibleObjects\ListViewItem.ListViewItemAccessibleObjectTests.cs (28)
66
View
= view,
558
View
= view,
647
View
= view
694
View
= view,
836
View
= view,
884
View
= view,
919
View
= view,
1132
View
= view,
1191
View
= view,
1254
ListView listView = new() {
View
= view };
1287
View
= view,
1344
View
= view,
1402
View
= view,
1451
View
= View.List,
1536
using ListView listView = new() {
View
= view };
1566
using ListView listView = new() {
View
= view };
1581
using ListView listView = new() {
View
= view };
1595
using ListView listView = new() {
View
= View.Details };
1619
View
= View.Details,
1640
using ListView listView = new() {
View
= view };
1658
using ListView listView = new() {
View
= view };
1699
using ListView listView = new() {
View
= oldView };
1703
listView.
View
= newView;
1753
using ListView listView = new() {
View
= oldView };
1758
listView.
View
= newView;
1786
using ListView listView = new() {
View
= oldView };
1791
listView.
View
= newView;
1922
View
= view,
System\Windows\Forms\AccessibleObjects\ListViewItem.ListViewItemBaseAccessibleObjectTests.cs (2)
199
using ListView control = new() {
View
= view };
217
using ListView control = new() {
View
= view };
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 (6)
16
control.
View
= view;
36
View
= view,
62
control.
View
= view;
81
View
= view,
98
control.
View
= view;
118
View
= view,
System\Windows\Forms\AccessibleObjects\ListViewItem.ListViewSubItem.ListViewSubItemAccessibleObjectTests.cs (11)
36
list.
View
= View.Details;
73
list.
View
= View.Details;
103
using ListView list = new() {
View
= view };
648
list.
View
= View.Details;
678
using ListView list = new() {
View
= View.Details };
719
using ListView list = new() {
View
= view };
772
list.
View
= View.Details;
796
View
= view,
872
View
= View.Details,
893
View
= View.Details,
970
using ListView listView = new() {
View
= View.Details };
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 (2)
84
ListView listView = new() {
View
= view };
98
ListView fullRowSelectListView = new() {
View
= view, FullRowSelect = true };
System\Windows\Forms\ListViewItem.IKeyboardToolTipTests.cs (1)
819
View
= view
System\Windows\Forms\ListViewTests.cs (42)
820
View
= view,
847
View
= view,
959
View
= view,
1003
View
= view,
1082
View
= View.Tile
1563
View
= view,
1585
View
= view,
1658
View
= view
1744
View
= view,
2508
View
= view,
2529
View
= view,
2602
View
= view
2688
View
= view,
3172
View
= view,
3193
View
= view,
3292
View
= view
3404
View
= view,
3537
View
= view,
3560
View
= view,
3733
View
= view
3920
View
= view,
4323
View
= view,
4380
View
= view,
4467
View
= view,
4715
View
= view,
4788
View
= view,
5035
listView.
View
= View.SmallIcon;
5091
listView.
View
= View.SmallIcon;
5144
View
= view
5171
View
= view
5196
View
= view
5219
View
= View.Details
5424
View
= View.Details,
5526
using ListView listView = new() {
View
= view, ShowGroups = showGroups };
5558
using ListView listView = new() {
View
= view, ShowGroups = showGroups };
5588
using ListView listView = new() {
View
= view, ShowGroups = showGroups, CheckBoxes = true };
5618
using ListView listView = new() {
View
= view, ShowGroups = showGroups, CheckBoxes = true };
5648
using ListView listView = new() {
View
= view, ShowGroups = showGroups };
5686
using ListView listView = new() {
View
= view, ShowGroups = showGroups };
5723
using ListView listView = new() {
View
= view, ShowGroups = showGroups, CheckBoxes = true };
5759
using ListView listView = new() {
View
= view, ShowGroups = showGroups, CheckBoxes = true };
6178
View
= view,
System.Windows.Forms.UI.IntegrationTests (2)
ListViewTests.cs (2)
537
listView.
View
= view;
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,
74 references to View
System.Windows.Forms (63)
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 (33)
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))
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)
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);
1870
bool keepTopItem = IsHandleCreated && VirtualMode &&
View
== View.Details && !DesignMode;
1931
if (value &&
View
== View.Tile)
2477
&&
View
== View.Details
2503
View
== View.Details &&
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)
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)
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))
6959
View
== View.Details &&
System\Windows\Forms\Controls\ListView\ListView.ListViewAccessibleObject.cs (5)
188
=> this.TryGetOwnerAs(out ListView? owningListView) ? (int)owningListView.
View
: base.GetMultiViewProviderCurrentView();
230
=> (VARIANT)(int)((this.TryGetOwnerAs(out ListView? owningListView) && owningListView.
View
== View.Details)
314
return owningListView.
View
switch
351
|| (patternId == UIA_PATTERN_ID.UIA_GridPatternId && owningListView.
View
== View.Details)
352
|| (patternId == UIA_PATTERN_ID.UIA_TablePatternId && owningListView.
View
== View.Details)
System\Windows\Forms\Controls\ListView\ListView.ListViewNativeItemCollection.cs (1)
265
if (_owner.
View
== View.SmallIcon)
System\Windows\Forms\Controls\ListView\ListViewItem.cs (4)
254
if (_accessibilityObject is null || owningListView.
View
!= _accessibilityObjectView)
256
_accessibilityObjectView = owningListView.
View
;
527
switch (_listView.
View
)
978
if (_listView is not null && _listView.IsHandleCreated && _listView.
View
== View.Details)
System\Windows\Forms\Controls\ListView\ListViewItem.IKeyboardToolTip.cs (2)
30
switch (_listView.
View
)
99
return _listView.
View
switch
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewItemBaseAccessibleObject.cs (2)
151
if (_owningListView.
View
!= View)
163
if (_owningListView.
View
!= View)
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewItemDetailsAccessibleObject.cs (2)
46
if (_owningListView.
View
!= View.Details)
73
if (_owningListView.
View
!= View.Details)
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewItemTileAccessibleObject.cs (2)
40
if (_owningListView.
View
!= View.Tile)
66
if (_owningListView.
View
!= View.Tile)
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewItemWithImageAccessibleObject.cs (2)
48
if (_owningListView.
View
!= View)
68
if (_owningListView.
View
!= View)
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 (4)
System\Windows\Forms\Design\ListViewActionList.cs (1)
32
get => _listView.
View
;
System\Windows\Forms\Design\ListViewDesigner.cs (3)
59
return ((ListView)Component).
View
;
76
if (listView.
View
== View.Details)
108
if (lv.
View
== View.Details)
System.Windows.Forms.Tests (7)
System\Windows\Forms\AccessibleObjects\ListVIew.ListViewAccessibleObjectTests.cs (2)
53
Assert.Equal((int)listView.
View
, accessibleObject.GetMultiViewProviderCurrentView());
72
Assert.Equal(((int)(listView.
View
)).ToString(), accessibleObject.GetMultiViewProviderViewName((int)View.Details));
System\Windows\Forms\AccessibleObjects\ListViewItem.ListViewItemAccessibleObjectTests.cs (4)
160
&& listView.
View
!= View.List
201
if (Application.UseVisualStyles && showGroups && !virtualMode && listView.
View
!= View.List)
248
if (Application.UseVisualStyles && showGroups && !virtualMode && listView.
View
!= View.List)
1709
switch (listView.
View
)
System\Windows\Forms\ListViewTests.cs (1)
147
Assert.Equal(View.LargeIcon, control.
View
);