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