45 writes to CheckBoxes
System.Windows.Forms.Tests (41)
System\Windows\Forms\AccessibleObjects\ListViewItem.ListViewItemAccessibleObjectTests.cs (3)
839CheckBoxes = checkboxesEnabled, 887CheckBoxes = true, 922CheckBoxes = true,
System\Windows\Forms\AccessibleObjects\ListViewItem.ListViewItemBaseAccessibleObjectTests.cs (4)
285listView.CheckBoxes = true; 301listView.CheckBoxes = true; 317listView.CheckBoxes = true; 338using ListView control = new() { CheckBoxes = true };
System\Windows\Forms\ListViewTests.cs (34)
823CheckBoxes = value 829listView.CheckBoxes = value; 834listView.CheckBoxes = !value; 850CheckBoxes = value 856listView.CheckBoxes = value; 861listView.CheckBoxes = !value; 880listView.CheckBoxes = value; 887listView.CheckBoxes = value; 894listView.CheckBoxes = !value; 971listView.CheckBoxes = value; 979listView.CheckBoxes = value; 987listView.CheckBoxes = !value; 1015listView.CheckBoxes = value; 1023listView.CheckBoxes = value; 1031listView.CheckBoxes = !value; 1054listView.CheckBoxes = value; 1061listView.CheckBoxes = value; 1068listView.CheckBoxes = !value; 1084Assert.Throws<NotSupportedException>(() => listView.CheckBoxes = true); 1087listView.CheckBoxes = false; 3534CheckBoxes = checkBoxes, 3557CheckBoxes = checkBoxes, 3730CheckBoxes = checkBoxes, 3917CheckBoxes = checkBoxes, 4419CheckBoxes = true 4473listView.CheckBoxes = true; 4474listView.CheckBoxes = false; // This would throw an InvalidOperationException prior to fix of #4042 4500control.CheckBoxes = true; 4614CheckBoxes = false, 4645CheckBoxes = true, 5588using ListView listView = new() { View = view, ShowGroups = showGroups, CheckBoxes = true }; 5618using ListView listView = new() { View = view, ShowGroups = showGroups, CheckBoxes = true }; 5723using ListView listView = new() { View = view, ShowGroups = showGroups, CheckBoxes = true }; 5759using ListView listView = new() { View = view, ShowGroups = showGroups, CheckBoxes = true };
System.Windows.Forms.UI.IntegrationTests (1)
ListViewTests.cs (1)
535listView.CheckBoxes = checkBoxesEnabled;
WinFormsControlsTest (3)
ListViewTest.cs (1)
66CheckBoxes = true,
ListViewTest.Designer.cs (1)
89this.listView3.CheckBoxes = true;
MultipleControls.cs (1)
31CheckBoxes = true,
52 references to CheckBoxes
System.Windows.Forms (30)
System\Windows\Forms\Controls\ListView\ListView.CheckedIndexCollection.cs (1)
30if (!_owner.CheckBoxes)
System\Windows\Forms\Controls\ListView\ListView.cs (18)
451if (CheckBoxes != value) 458if (CheckBoxes && !VirtualMode) 473if (CheckBoxes && _savedCheckedItems is not null) 496if (CheckBoxes != value) 503if (CheckBoxes && !VirtualMode) 537if (CheckBoxes && _savedCheckedItems is not null) 556if (CheckBoxes) 1570if (IsHandleCreated && _imageListState is not null && CheckBoxes) 1589if (CheckBoxes) 1809if (value == View.Tile && CheckBoxes) 3357if (CheckBoxes && IsHandleCreated) 4648if (!CheckBoxes && !VirtualMode) 4749if (!CheckBoxes) 5638if (CheckBoxes) 5818if (!CheckBoxes) 5860if (!CheckBoxes || VirtualMode) 5898if (CheckBoxes) 6714if (CheckBoxes && !VirtualMode)
System\Windows\Forms\Controls\ListView\ListView.ListViewNativeItemCollection.cs (6)
114if (_owner.IsHandleCreated && !_owner.CheckBoxes && valueChecked) 144if (_owner.IsHandleCreated && !_owner.CheckBoxes) 161if (_owner.IsHandleCreated && !_owner.CheckBoxes) 294if (_owner.IsHandleCreated && !_owner.CheckBoxes) 351if (_owner.IsHandleCreated && !_owner.CheckBoxes && item.Checked) 407if (_owner.IsHandleCreated && !_owner.CheckBoxes && this[index].Checked)
System\Windows\Forms\Controls\ListView\ListViewItem.cs (1)
339if (!_listView.CheckBoxes)
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewItemBaseAccessibleObject.cs (4)
76=> _owningListView.CheckBoxes 103if (_owningListView.CheckBoxes) 120if (_owningListView.CheckBoxes) 244UIA_PATTERN_ID.UIA_TogglePatternId => _owningListView.CheckBoxes,
System.Windows.Forms.Tests (21)
System\Windows\Forms\ListViewTests.cs (21)
47Assert.False(control.CheckBoxes); 825Assert.Equal(value, listView.CheckBoxes); 830Assert.Equal(value, listView.CheckBoxes); 835Assert.Equal(!value, listView.CheckBoxes); 852Assert.Equal(value, listView.CheckBoxes); 857Assert.Equal(value, listView.CheckBoxes); 862Assert.Equal(!value, listView.CheckBoxes); 881Assert.Equal(value, listView.CheckBoxes); 888Assert.Equal(value, listView.CheckBoxes); 895Assert.Equal(!value, listView.CheckBoxes); 972Assert.Equal(value, listView.CheckBoxes); 980Assert.Equal(value, listView.CheckBoxes); 988Assert.Equal(!value, listView.CheckBoxes); 1016Assert.Equal(value, listView.CheckBoxes); 1024Assert.Equal(value, listView.CheckBoxes); 1032Assert.Equal(!value, listView.CheckBoxes); 1055Assert.Equal(value, listView.CheckBoxes); 1062Assert.Equal(value, listView.CheckBoxes); 1069Assert.Equal(!value, listView.CheckBoxes); 1085Assert.False(listView.CheckBoxes); 1088Assert.False(listView.CheckBoxes);
WinFormsControlsTest (1)
CloneTestListView.cs (1)
11if (!CheckBoxes)