297 references to Details
Accessibility_Core_App (3)
CommonControl1.cs (1)
35listView1.View = View.Details;
DataBindingExample.cs (1)
88listView1.View = View.Details;
DataBindingExample.Designer.cs (1)
245this.listView1.View = System.Windows.Forms.View.Details;
System.Windows.Forms (33)
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.cs (13)
1467if (View == View.Details) 1614internal bool SupportsListViewSubItems => View == View.Details || (View == View.Tile && Application.ComCtlSupportsVisualStyles); 1870bool keepTopItem = IsHandleCreated && VirtualMode && View == View.Details && !DesignMode; 2477&& View == View.Details 2503View == View.Details && 2652if (_viewStyle == View.Details) 2670if (_viewStyle is View.Details or View.Tile) 3580if (View == View.Details && Columns.Count == 0) 3609if (View == View.Details && Columns.Count == 0) 3648if (View == View.Details) 3785if (_viewStyle == View.Details && IsHandleCreated) 4799if (View == View.Details && !Scrollable && IsHandleCreated) 6959View == View.Details &&
System\Windows\Forms\Controls\ListView\ListView.ListViewAccessibleObject.cs (5)
191=> [(int)View.Details]; 230=> (VARIANT)(int)((this.TryGetOwnerAs(out ListView? owningListView) && owningListView.View == View.Details) 316View.Details => ((ListViewItem.ListViewItemDetailsAccessibleObject)itemAccessibleObject) 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\ListViewItem.cs (3)
259View.Details => new ListViewItemDetailsAccessibleObject(this), 533case View.Details: 978if (_listView is not null && _listView.IsHandleCreated && _listView.View == View.Details)
System\Windows\Forms\Controls\ListView\ListViewItem.IKeyboardToolTip.cs (2)
45case View.Details: 101View.Details or View.List => GetDetailsListRectangle(point, item, itemBounds),
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewItemDetailsAccessibleObject.cs (5)
25protected override View View => View.Details; 46if (_owningListView.View != View.Details) 48throw new InvalidOperationException(string.Format(SR.ListViewItemAccessibilityObjectInvalidViewException, nameof(View.Details))); 73if (_owningListView.View != View.Details) 75throw new InvalidOperationException(string.Format(SR.ListViewItemAccessibilityObjectInvalidViewException, nameof(View.Details)));
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.Design (5)
System\Windows\Forms\Design\ListViewDesigner.cs (3)
64if (value == View.Details) 76if (listView.View == View.Details) 108if (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 (250)
System\Windows\Forms\AccessibleObjects\ListVIew.ListViewAccessibleObjectTests.cs (17)
62Assert.Equal(new int[] { (int)View.Details }, accessibleObject.GetMultiViewProviderSupportedViews()); 70listView.View = View.Details; 72Assert.Equal(((int)(listView.View)).ToString(), accessibleObject.GetMultiViewProviderViewName((int)View.Details)); 1139[InlineData(View.Details)] 1163[InlineData(View.Details)] 1188listView.View = View.Details; 1214listView.View = View.Details; 1442[InlineData(View.Details)] 1468[InlineData(View.Details)] 1505[InlineData(View.Details)] 1538[InlineData(View.Details)] 1557[InlineData(View.Details)] 1585[InlineData(View.Details)] 1609[InlineData(View.Details)] 1631[InlineData(View.Details)] 1655[InlineData(View.Details)] 1689[InlineData(View.Details)]
System\Windows\Forms\AccessibleObjects\ListViewGroup.ListViewGroupAccessibleObjectTests.cs (14)
846[InlineData(View.Details)] 870[InlineData(View.Details)] 910[InlineData(View.Details)] 939[InlineData(View.Details)] 959[InlineData(View.Details)] 985[InlineData(View.Details)] 1010[InlineData(View.Details)] 1029[InlineData(View.Details)] 1053[InlineData(View.Details)] 1080[InlineData(View.Details)] 1101[InlineData(View.Details)] 1127[InlineData(View.Details)] 1184[InlineData(View.Details)] 1205[InlineData(View.Details)]
System\Windows\Forms\AccessibleObjects\ListViewItem.ListViewItemAccessibleObjectTests.cs (42)
347using ListView listView = GetListViewWithData(View.Details, createControl: true, virtualMode: virtualMode, showGroups); 379using ListView listView = GetListViewWithSubItemData(View.Details, createControl, virtualMode, showGroups, columnCount: 3, subItemCount: 3); 432using ListView listView = GetListViewWithSubItemData(View.Details, createControl, virtualMode, showGroups, columnCount: 3, subItemCount: 3); 446using ListView listView = GetListViewWithSubItemData(View.Details, createControl, virtualMode, showGroups, columnCount: 3, subItemCount: 0); 464using ListView listView = GetListViewWithSubItemData(View.Details, createControl, virtualMode, showGroups, columnCount: 1, subItemCount: 5); 480using ListView listView = GetListViewWithSubItemData(View.Details, createControl, virtualMode, showGroups, columnCount: 2, subItemCount: 0); 509using ListView listView = GetListViewWithSubItemData(View.Details, createControl, virtualMode, showGroups, columnCount: 2, subItemCount: 1); 953[InlineData(View.Details)] 971[InlineData(View.Details)] 1006[InlineData(View.Details)] 1038? view == View.Details ? 3 : 0 1056if (view == View.Details) 1096if (view == View.Details) 1274[InlineData(View.Details)] 1331[InlineData(View.Details)] 1389[InlineData(View.Details)] 1529[InlineData(View.Details)] 1542if (view == View.Details) 1559[InlineData(View.Details)] 1574[InlineData(View.Details)] 1595using ListView listView = new() { View = View.Details }; 1619View = View.Details, 1633[InlineData(View.Details)] 1651[InlineData(View.Details)] 1663case View.Details: 1711case View.Details: 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)] 1739[InlineData(View.List, View.Details)] 1743[InlineData(View.SmallIcon, View.Details)] 1747[InlineData(View.Tile, View.Details)] 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)] 1772[InlineData(View.List, View.Details)] 1776[InlineData(View.SmallIcon, View.Details)] 1780[InlineData(View.Tile, View.Details)]
System\Windows\Forms\AccessibleObjects\ListViewItem.ListViewItemBaseAccessibleObjectTests.cs (2)
192[InlineData(View.Details)] 210[InlineData(View.Details)]
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.ListViewSubItem.ListViewSubItemAccessibleObjectTests.cs (26)
36list.View = View.Details; 73list.View = View.Details; 96[InlineData(View.Details)] 108Assert.Equal(view == View.Details, (bool)accessibleObject.GetPropertyValue(UIA_PROPERTY_ID.UIA_IsGridItemPatternAvailablePropertyId)); 109Assert.Equal(view == View.Details, (bool)accessibleObject.GetPropertyValue(UIA_PROPERTY_ID.UIA_IsTableItemPatternAvailablePropertyId)); 216using ListView listView = GetListViewWithSubItemData(View.Details, createControl: true, virtualMode, showGroups, columnCount: 3, subItemCount: 2); 246using ListView listView = GetListViewWithSubItemData(View.Details, createControl: false, virtualMode, showGroups, columnCount: 3, subItemCount: 2); 287using ListView listView = GetListViewWithSubItemData(View.Details, createControl, virtualMode, showGroups, columnCount: 3, subItemCount: 2); 356using ListView listView = GetListViewWithSubItemData(View.Details, createControl, virtualMode, showGroups, columnCount: 2, subItemCount: 5); 382using ListView listView = GetListViewWithSubItemData(View.Details, createControl, virtualMode, showGroups, columnCount: 5, subItemCount: 0); 408using ListView listView = GetListViewWithSubItemData(View.Details, createControl, virtualMode, showGroups, columnCount: 5, subItemCount: 0); 427using ListView listView = GetListViewWithSubItemData(View.Details, createControl, virtualMode, showGroups, columnCount: 4, subItemCount: 3); 461using ListView listView = GetListViewWithSubItemData(View.Details, createControl, virtualMode, showGroups, columnCount: 2, subItemCount: 0); 484using ListView listView = GetListViewWithSubItemData(View.Details, createControl, virtualMode, showGroups, columnCount: 3, subItemCount: 0); 507using ListView listView = GetListViewWithSubItemData(View.Details, createControl, virtualMode, showGroups, columnCount: 2, subItemCount: 1); 530using ListView listView = GetListViewWithSubItemData(View.Details, createControl, virtualMode, showGroups, columnCount: 3, subItemCount: 1); 553using ListView listView = GetListViewWithSubItemData(View.Details, createControl, virtualMode, showGroups, columnCount: 5, subItemCount: 0); 591using ListView listView = GetListViewWithSubItemData(View.Details, createControl, virtualMode, showGroups, columnCount: 5, subItemCount: 0); 648list.View = View.Details; 678using ListView list = new() { View = View.Details }; 772list.View = View.Details; 872View = View.Details, 893View = View.Details, 970using ListView listView = new() { View = View.Details }; 984View.Details, 1000View.Details,
System\Windows\Forms\AccessibleObjects\ListViewLabelEditAccessibleObjectTests.cs (1)
157View = View.Details,
System\Windows\Forms\ColumnHeaderTests.cs (3)
1252View = View.Details 1355View = View.Details 1373View = View.Details
System\Windows\Forms\DrawListViewItemEventArgsTests.cs (1)
82foreach (View view in new View[] { View.Details, View.List })
System\Windows\Forms\ListViewItem.IKeyboardToolTipTests.cs (7)
137[InlineData(true, View.Details, 46, 48)] 138[InlineData(false, View.Details, 46, 48)] 158[InlineData(true, View.Details)] 159[InlineData(false, View.Details)] 590using var listView = GetListView(virtualMode: virtualMode, view: View.Details, virtualListSize: 3); 607using var listView = GetListView(virtualMode: virtualMode, view: View.Details, virtualListSize: 3); 625using var listView = GetListView(virtualMode: virtualMode, view: View.Details, virtualListSize: 3);
System\Windows\Forms\ListViewTests.cs (126)
803yield return new object[] { useCompatibleStateImageBehavior, View.Details, alignment, imageListFactory(), value }; 907yield return new object[] { true, View.Details, alignment, imageListFactory(), true, 1, 0, 2, 0 }; 911yield return new object[] { true, View.Details, alignment, imageListFactory(), false, 0, 0, 1, 0 }; 919yield return new object[] { false, View.Details, alignment, null, true, 1, 0, 2, 0 }; 923yield return new object[] { false, View.Details, alignment, null, false, 0, 0, 1, 0 }; 928yield return new object[] { false, View.Details, alignment, new ImageList(), true, 1, 0, 2, 1 }; 932yield return new object[] { false, View.Details, alignment, new ImageList(), false, 0, 0, 1, 0 }; 941yield return new object[] { false, View.Details, ListViewAlignment.Left, imageListFactory(), true, 1, 0, 2, 1 }; 945yield return new object[] { false, View.Details, ListViewAlignment.Left, imageListFactory(), false, 0, 0, 1, 0 }; 1541foreach (View view in new View[] { View.Details, View.LargeIcon, View.List, View.SmallIcon }) 1601yield return new object[] { true, false, View.Details, null }; 1602yield return new object[] { true, false, View.Details, new ImageList() }; 1603yield return new object[] { true, false, View.Details, CreateImageListNonEmpty() }; 1619yield return new object[] { autoArrange, true, View.Details, null }; 1620yield return new object[] { autoArrange, true, View.Details, new ImageList() }; 1621yield return new object[] { autoArrange, true, View.Details, CreateImageListNonEmpty() }; 1633yield return new object[] { false, false, View.Details, null }; 1634yield return new object[] { false, false, View.Details, new ImageList() }; 1635yield return new object[] { false, false, View.Details, CreateImageListNonEmpty() }; 1687yield return new object[] { true, false, View.Details, null }; 1688yield return new object[] { true, false, View.Details, new ImageList() }; 1689yield return new object[] { true, false, View.Details, CreateImageListNonEmpty() }; 1705yield return new object[] { autoArrange, true, View.Details, null }; 1706yield return new object[] { autoArrange, true, View.Details, new ImageList() }; 1707yield return new object[] { autoArrange, true, View.Details, CreateImageListNonEmpty() }; 1719yield return new object[] { false, false, View.Details, null }; 1720yield return new object[] { false, false, View.Details, new ImageList() }; 1721yield return new object[] { false, false, View.Details, CreateImageListNonEmpty() }; 2486foreach (View view in new View[] { View.Details, View.LargeIcon, View.List, View.SmallIcon }) 2545yield return new object[] { true, false, View.Details, null, 0 }; 2546yield return new object[] { true, false, View.Details, new ImageList(), 0 }; 2547yield return new object[] { true, false, View.Details, CreateImageListNonEmpty(), 0 }; 2563yield return new object[] { autoArrange, true, View.Details, null, 0 }; 2564yield return new object[] { autoArrange, true, View.Details, new ImageList(), 0 }; 2565yield return new object[] { autoArrange, true, View.Details, CreateImageListNonEmpty(), 0 }; 2577yield return new object[] { false, false, View.Details, null, 0 }; 2578yield return new object[] { false, false, View.Details, new ImageList(), 0 }; 2579yield return new object[] { false, false, View.Details, CreateImageListNonEmpty(), 0 }; 2630yield return new object[] { true, false, View.Details, null, 0 }; 2631yield return new object[] { true, false, View.Details, new ImageList(), 0 }; 2632yield return new object[] { true, false, View.Details, CreateImageListNonEmpty(), 0 }; 2648yield return new object[] { autoArrange, true, View.Details, null, 0 }; 2649yield return new object[] { autoArrange, true, View.Details, new ImageList(), 0 }; 2650yield return new object[] { autoArrange, true, View.Details, CreateImageListNonEmpty(), 0 }; 2662yield return new object[] { false, false, View.Details, null, 0 }; 2663yield return new object[] { false, false, View.Details, new ImageList(), 0 }; 2664yield return new object[] { false, false, View.Details, CreateImageListNonEmpty(), 0 }; 3150foreach (View view in new View[] { View.Details, View.LargeIcon, View.List, View.SmallIcon }) 3209yield return new object[] { true, false, View.Details, null, 0, 0 }; 3210yield return new object[] { true, false, View.Details, new ImageList(), 1, 0 }; 3211yield return new object[] { true, false, View.Details, CreateImageListNonEmpty(), 1, 0 }; 3224yield return new object[] { autoArrange, true, View.Details, null, 0, 0 }; 3225yield return new object[] { autoArrange, true, View.Details, new ImageList(), 1, 0 }; 3226yield return new object[] { autoArrange, true, View.Details, CreateImageListNonEmpty(), 1, 0 }; 3235yield return new object[] { false, false, View.Details, null, 0, 0 }; 3236yield return new object[] { false, false, View.Details, new ImageList(), 1, 0 }; 3237yield return new object[] { false, false, View.Details, CreateImageListNonEmpty(), 1, 0 }; 3320yield return new object[] { true, false, View.Details, null, 1, 0 }; 3321yield return new object[] { true, false, View.Details, new ImageList(), 1, 0 }; 3322yield return new object[] { true, false, View.Details, CreateImageListNonEmpty(), 1, 0 }; 3335yield return new object[] { autoArrange, true, View.Details, null, 1, 0 }; 3336yield return new object[] { autoArrange, true, View.Details, new ImageList(), 1, 0 }; 3337yield return new object[] { autoArrange, true, View.Details, CreateImageListNonEmpty(), 1, 0 }; 3346yield return new object[] { false, false, View.Details, null, 1, 0 }; 3347yield return new object[] { false, false, View.Details, new ImageList(), 1, 0 }; 3348yield return new object[] { false, false, View.Details, CreateImageListNonEmpty(), 1, 0 }; 3507foreach (View view in new View[] { View.Details, View.LargeIcon, View.List, View.SmallIcon }) 3579yield return new object[] { true, checkBoxes, true, false, View.Details, null, 0, 0 }; 3580yield return new object[] { true, checkBoxes, true, false, View.Details, new ImageList(), 0, 0 }; 3581yield return new object[] { true, checkBoxes, true, false, View.Details, CreateImageListNonEmpty(), 0, 0 }; 3594yield return new object[] { true, checkBoxes, autoArrange, true, View.Details, null, 0, 0 }; 3595yield return new object[] { true, checkBoxes, autoArrange, true, View.Details, new ImageList(), 0, 0 }; 3596yield return new object[] { true, checkBoxes, autoArrange, true, View.Details, CreateImageListNonEmpty(), 0, 0 }; 3608yield return new object[] { true, checkBoxes, false, false, View.Details, null, 0, 0 }; 3609yield return new object[] { true, checkBoxes, false, false, View.Details, new ImageList(), 0, 0 }; 3610yield return new object[] { true, checkBoxes, false, false, View.Details, CreateImageListNonEmpty(), 0, 0 }; 3631yield return new object[] { false, true, true, false, View.Details, null, 0, 0 }; 3632yield return new object[] { false, true, true, false, View.Details, new ImageList(), 1, 1 }; 3633yield return new object[] { false, true, true, false, View.Details, CreateImageListNonEmpty(), 1, 1 }; 3646yield return new object[] { false, true, autoArrange, true, View.Details, null, 0, 0 }; 3647yield return new object[] { false, true, autoArrange, true, View.Details, new ImageList(), 1, 1 }; 3648yield return new object[] { false, true, autoArrange, true, View.Details, CreateImageListNonEmpty(), 1, 1 }; 3660yield return new object[] { false, true, false, false, View.Details, null, 0, 0 }; 3661yield return new object[] { false, true, false, false, View.Details, new ImageList(), 1, 1 }; 3662yield return new object[] { false, true, false, false, View.Details, CreateImageListNonEmpty(), 1, 1 }; 3674yield return new object[] { false, false, true, false, View.Details, null, 0, 0 }; 3675yield return new object[] { false, false, true, false, View.Details, new ImageList(), 0, 0 }; 3676yield return new object[] { false, false, true, false, View.Details, CreateImageListNonEmpty(), 0, 0 }; 3692yield return new object[] { false, false, autoArrange, true, View.Details, null, 0, 0 }; 3693yield return new object[] { false, false, autoArrange, true, View.Details, new ImageList(), 0, 0 }; 3694yield return new object[] { false, false, autoArrange, true, View.Details, CreateImageListNonEmpty(), 0, 0 }; 3706yield return new object[] { false, false, false, false, View.Details, null, 0, 0 }; 3707yield return new object[] { false, false, false, false, View.Details, new ImageList(), 0, 0 }; 3708yield return new object[] { false, false, false, false, View.Details, CreateImageListNonEmpty(), 0, 0 }; 3764yield return new object[] { true, checkBoxes, true, false, View.Details, null, 0, 0 }; 3765yield return new object[] { true, checkBoxes, true, false, View.Details, new ImageList(), 0, 0 }; 3766yield return new object[] { true, checkBoxes, true, false, View.Details, CreateImageListNonEmpty(), 0, 0 }; 3779yield return new object[] { true, checkBoxes, autoArrange, true, View.Details, null, 0, 0 }; 3780yield return new object[] { true, checkBoxes, autoArrange, true, View.Details, new ImageList(), 0, 0 }; 3781yield return new object[] { true, checkBoxes, autoArrange, true, View.Details, CreateImageListNonEmpty(), 0, 0 }; 3793yield return new object[] { true, checkBoxes, false, false, View.Details, null, 0, 0 }; 3794yield return new object[] { true, checkBoxes, false, false, View.Details, new ImageList(), 0, 0 }; 3795yield return new object[] { true, checkBoxes, false, false, View.Details, CreateImageListNonEmpty(), 0, 0 }; 3816yield return new object[] { false, true, true, false, View.Details, null, 1, 1 }; 3817yield return new object[] { false, true, true, false, View.Details, new ImageList(), 1, 1 }; 3818yield return new object[] { false, true, true, false, View.Details, CreateImageListNonEmpty(), 1, 1 }; 3831yield return new object[] { false, true, autoArrange, true, View.Details, null, 1, 1 }; 3832yield return new object[] { false, true, autoArrange, true, View.Details, new ImageList(), 1, 1 }; 3833yield return new object[] { false, true, autoArrange, true, View.Details, CreateImageListNonEmpty(), 1, 1 }; 3845yield return new object[] { false, true, false, false, View.Details, null, 1, 1 }; 3846yield return new object[] { false, true, false, false, View.Details, new ImageList(), 1, 1 }; 3847yield return new object[] { false, true, false, false, View.Details, CreateImageListNonEmpty(), 1, 1 }; 3859yield return new object[] { false, false, true, false, View.Details, null, 0, 0 }; 3860yield return new object[] { false, false, true, false, View.Details, new ImageList(), 0, 0 }; 3861yield return new object[] { false, false, true, false, View.Details, CreateImageListNonEmpty(), 0, 0 }; 3877yield return new object[] { false, false, autoArrange, true, View.Details, null, 0, 0 }; 3878yield return new object[] { false, false, autoArrange, true, View.Details, new ImageList(), 0, 0 }; 3879yield return new object[] { false, false, autoArrange, true, View.Details, CreateImageListNonEmpty(), 0, 0 }; 3891yield return new object[] { false, false, false, false, View.Details, null, 0, 0 }; 3892yield return new object[] { false, false, false, false, View.Details, new ImageList(), 0, 0 }; 3893yield return new object[] { false, false, false, false, View.Details, CreateImageListNonEmpty(), 0, 0 }; 5134[InlineData(View.Details)] 5161[InlineData(View.Details)] 5186[InlineData(View.Details)] 5219View = View.Details 5424View = View.Details,
System.Windows.Forms.UI.IntegrationTests (2)
ListViewTests.cs (2)
30InitializeItems(listView, View.Details, virtualModeEnabled, checkBoxesEnabled); 486InitializeItems(listView, View.Details, virtualModeEnabled: false, checkBoxesEnabled: true);
WinFormsControlsTest (2)
ListViewTest.cs (1)
60View = View.Details,
MultipleControls.cs (1)
25View = View.Details,