176 writes to View
Accessibility_Core_App (6)
CommonControl1.cs (4)
25listView1.View = View.LargeIcon; 30listView1.View = View.SmallIcon; 35listView1.View = View.Details; 40listView1.View = View.List;
DataBindingExample.cs (1)
88listView1.View = View.Details;
DataBindingExample.Designer.cs (1)
245this.listView1.View = System.Windows.Forms.View.Details;
System.Windows.Forms (7)
System\Windows\Forms\Controls\ListView\ListView.cs (4)
1459View = View.LargeIcon; 1460View = View.SmallIcon; 4245View = View.LargeIcon; 4246View = View.SmallIcon;
System\Windows\Forms\Controls\ListView\ListView.ListViewAccessibleObject.cs (1)
366owningListView.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)
70listView.View = View.Details; 260View = view, 341View = view, 383View = view, 444View = view, 506View = view, 577View = view, 632View = view, 712View = view, 794View = view, 846View = view, 915View = view, 952View = view, 971View = view, 1007View = view, 1053View = view, 1084View = view, 1147listView.View = view; 1171listView.View = view; 1188listView.View = View.Details; 1214listView.View = View.Details; 1385View = view, 1720ListView listView = new() { View = view };
System\Windows\Forms\AccessibleObjects\ListViewGroup.ListViewGroupAccessibleObjectTests.cs (15)
136View = view, 206View = view, 369View = view, 464View = view, 500View = view, 582View = view, 659View = view, 702View = view, 1154View = view, 1216using ListView listView = new() { View = view, ShowGroups = true }; 1229ListView listView = new() { View = view }; 1257View = view, 1319View = view, 1399ListView listView = new() { View = view }; 1422View = view,
System\Windows\Forms\AccessibleObjects\ListViewItem.ListViewItemAccessibleObjectTests.cs (28)
66View = view, 558View = view, 647View = view 694View = view, 836View = view, 884View = view, 919View = view, 1132View = view, 1191View = view, 1254ListView listView = new() { View = view }; 1287View = view, 1344View = view, 1402View = view, 1451View = View.List, 1536using ListView listView = new() { View = view }; 1566using ListView listView = new() { View = view }; 1581using ListView listView = new() { View = view }; 1595using ListView listView = new() { View = View.Details }; 1619View = View.Details, 1640using ListView listView = new() { View = view }; 1658using ListView listView = new() { View = view }; 1699using ListView listView = new() { View = oldView }; 1703listView.View = newView; 1753using ListView listView = new() { View = oldView }; 1758listView.View = newView; 1786using ListView listView = new() { View = oldView }; 1791listView.View = newView; 1922View = view,
System\Windows\Forms\AccessibleObjects\ListViewItem.ListViewItemBaseAccessibleObjectTests.cs (2)
199using ListView control = new() { View = view }; 217using ListView control = new() { View = view };
System\Windows\Forms\AccessibleObjects\ListViewItem.ListViewItemDetailsAccessibleObjectTests.cs (9)
21using ListView control = new() { View = View.Details }; 36using ListView control = new() { View = View.Details }; 52using ListView control = new() { View = View.Details }; 68using ListView control = new() { View = View.Details }; 86using ListView control = new() { View = View.Details }; 99using ListView control = new() { View = View.Details }; 114using ListView control = new() { View = View.Details }; 138View = View.Details 171listView1.View = View.Details;
System\Windows\Forms\AccessibleObjects\ListViewItem.ListViewItemImageAccessibleObjectTests.cs (2)
20View = View.Details, 46View = View.Details,
System\Windows\Forms\AccessibleObjects\ListViewItem.ListViewItemListAccessibleObjectTests.cs (4)
28control.View = View.List; 39control.View = View.List; 51control.View = View.List; 70control.View = View.List;
System\Windows\Forms\AccessibleObjects\ListViewItem.ListViewItemWithImageAccessibleObjectTests.cs (6)
16control.View = view; 36View = view, 62control.View = view; 81View = view, 98control.View = view; 118View = view,
System\Windows\Forms\AccessibleObjects\ListViewItem.ListViewSubItem.ListViewSubItemAccessibleObjectTests.cs (11)
36list.View = View.Details; 73list.View = View.Details; 103using ListView list = new() { View = view }; 648list.View = View.Details; 678using ListView list = new() { View = View.Details }; 719using ListView list = new() { View = view }; 772list.View = View.Details; 796View = view, 872View = View.Details, 893View = View.Details, 970using ListView listView = new() { View = View.Details };
System\Windows\Forms\AccessibleObjects\ListViewLabelEditAccessibleObjectTests.cs (1)
157View = View.Details,
System\Windows\Forms\ColumnHeaderCollectionTests.cs (3)
479View = View.Tile 504View = View.Tile 1006View = View.Tile
System\Windows\Forms\ColumnHeaderTests.cs (3)
1252View = View.Details 1355View = View.Details 1373View = View.Details
System\Windows\Forms\ControlTests.cs (1)
1057listView1.View = View.List;
System\Windows\Forms\DrawListViewItemEventArgsTests.cs (2)
84ListView listView = new() { View = view }; 98ListView fullRowSelectListView = new() { View = view, FullRowSelect = true };
System\Windows\Forms\ListViewItem.IKeyboardToolTipTests.cs (1)
819View = view
System\Windows\Forms\ListViewTests.cs (42)
820View = view, 847View = view, 959View = view, 1003View = view, 1082View = View.Tile 1563View = view, 1585View = view, 1658View = view 1744View = view, 2508View = view, 2529View = view, 2602View = view 2688View = view, 3172View = view, 3193View = view, 3292View = view 3404View = view, 3537View = view, 3560View = view, 3733View = view 3920View = view, 4323View = view, 4380View = view, 4467View = view, 4715View = view, 4788View = view, 5035listView.View = View.SmallIcon; 5091listView.View = View.SmallIcon; 5144View = view 5171View = view 5196View = view 5219View = View.Details 5424View = View.Details, 5526using ListView listView = new() { View = view, ShowGroups = showGroups }; 5558using ListView listView = new() { View = view, ShowGroups = showGroups }; 5588using ListView listView = new() { View = view, ShowGroups = showGroups, CheckBoxes = true }; 5618using ListView listView = new() { View = view, ShowGroups = showGroups, CheckBoxes = true }; 5648using ListView listView = new() { View = view, ShowGroups = showGroups }; 5686using ListView listView = new() { View = view, ShowGroups = showGroups }; 5723using ListView listView = new() { View = view, ShowGroups = showGroups, CheckBoxes = true }; 5759using ListView listView = new() { View = view, ShowGroups = showGroups, CheckBoxes = true }; 6178View = view,
System.Windows.Forms.UI.IntegrationTests (2)
ListViewTests.cs (2)
537listView.View = view; 548listView.View = View.Tile;
TrimTestBinaryDeserialization (1)
Form1.Designer.cs (1)
54listView1.View = View.Tile;
WinFormsControlsTest (4)
ListViewTest.cs (3)
16listView1.View = View.Tile; 60View = View.Details, 237listView1.View = View.LargeIcon;
MultipleControls.cs (1)
25View = View.Details,
74 references to View
System.Windows.Forms (63)
System\Windows\Forms\Controls\ListView\ColumnHeader.cs (1)
395if (ListView is not null && ListView.IsHandleCreated && !ListView.Disposing && ListView.View == View.Details)
System\Windows\Forms\Controls\ListView\DrawListViewItemEventArgs.cs (1)
97if (Item.ListView is not null && Item.ListView.View == View.Details)
System\Windows\Forms\Controls\ListView\ListView.ColumnHeaderCollection.cs (3)
311if (_owner.View == View.Tile) 505if (_owner.IsHandleCreated && _owner.View != View.Tile) 559if (_owner.IsHandleCreated && _owner.View == View.Tile)
System\Windows\Forms\Controls\ListView\ListView.cs (33)
453if (value && View == View.Tile) 498if (value && View == View.Tile) 519(value && View == View.List && IsHandleCreated) || 520(value && (View == View.SmallIcon || View == View.LargeIcon) && IsHandleCreated)) 849Debug.Assert(!_listViewState[LISTVIEWSTATE_flipViewToLargeIconAndSmallIcon] || View == View.SmallIcon, "we need this bit only in SmallIcon view"); 857Debug.Assert(!value || View == View.SmallIcon, "we need this bit only in SmallIcon view"); 980internal bool GroupsDisplayed => View != View.List && GroupsEnabled; 1457if (View == View.SmallIcon) 1467if (View == View.Details) 1509if (View is View.LargeIcon or View.SmallIcon) 1614internal bool SupportsListViewSubItems => View == View.Details || (View == View.Tile && Application.ComCtlSupportsVisualStyles); 1870bool keepTopItem = IsHandleCreated && VirtualMode && View == View.Details && !DesignMode; 1931if (value && View == View.Tile) 2477&& View == View.Details 2503View == View.Details && 3215if (View is not View.SmallIcon and not View.LargeIcon) 3580if (View == View.Details && Columns.Count == 0) 3609if (View == View.Details && Columns.Count == 0) 3643if (View == View.Tile) 3648if (View == View.Details) 3822int idx = IsHandleCreated && View != View.Tile ? InsertColumnNative(index, ch) : index; 3858if (ch.ActualImageIndex_Internal != -1 && IsHandleCreated && View != View.Tile) 3889if (IsHandleCreated && View == View.Tile) 3997if (IsHandleCreated && Items.Count == 0 && View == View.SmallIcon && Application.ComCtlSupportsVisualStyles) 4799if (View == View.Details && !Scrollable && IsHandleCreated) 4997if (View is View.LargeIcon or View.SmallIcon) 5026if (View == View.LargeIcon) 5469if (View == View.List && subItemIndex == 0) 5586if (!VirtualMode && IsHandleCreated && AutoArrange && (View == View.LargeIcon || View == View.SmallIcon)) 6959View == 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) 314return 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)
265if (_owner.View == View.SmallIcon)
System\Windows\Forms\Controls\ListView\ListViewItem.cs (4)
254if (_accessibilityObject is null || owningListView.View != _accessibilityObjectView) 256_accessibilityObjectView = owningListView.View; 527switch (_listView.View) 978if (_listView is not null && _listView.IsHandleCreated && _listView.View == View.Details)
System\Windows\Forms\Controls\ListView\ListViewItem.IKeyboardToolTip.cs (2)
30switch (_listView.View) 99return _listView.View switch
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewItemBaseAccessibleObject.cs (2)
151if (_owningListView.View != View) 163if (_owningListView.View != View)
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewItemDetailsAccessibleObject.cs (2)
46if (_owningListView.View != View.Details) 73if (_owningListView.View != View.Details)
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewItemTileAccessibleObject.cs (2)
40if (_owningListView.View != View.Tile) 66if (_owningListView.View != View.Tile)
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewItemWithImageAccessibleObject.cs (2)
48if (_owningListView.View != View) 68if (_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 150return _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)
32get => _listView.View;
System\Windows\Forms\Design\ListViewDesigner.cs (3)
59return ((ListView)Component).View; 76if (listView.View == View.Details) 108if (lv.View == View.Details)
System.Windows.Forms.Tests (7)
System\Windows\Forms\AccessibleObjects\ListVIew.ListViewAccessibleObjectTests.cs (2)
53Assert.Equal((int)listView.View, accessibleObject.GetMultiViewProviderCurrentView()); 72Assert.Equal(((int)(listView.View)).ToString(), accessibleObject.GetMultiViewProviderViewName((int)View.Details));
System\Windows\Forms\AccessibleObjects\ListViewItem.ListViewItemAccessibleObjectTests.cs (4)
160&& listView.View != View.List 201if (Application.UseVisualStyles && showGroups && !virtualMode && listView.View != View.List) 248if (Application.UseVisualStyles && showGroups && !virtualMode && listView.View != View.List) 1709switch (listView.View)
System\Windows\Forms\ListViewTests.cs (1)
147Assert.Equal(View.LargeIcon, control.View);