58 writes to CheckBoxes
System.Windows.Forms.Design (2)
System\ComponentModel\Design\ObjectSelectorEditor.Selector.cs (1)
28
CheckBoxes
= false;
System\Windows\Forms\Design\TreeNodeCollectionEditor.cs (1)
481
_treeView1.
CheckBoxes
= actualTreeView.CheckBoxes;
System.Windows.Forms.Tests (55)
System\Windows\Forms\AccessibleObjects\TreeNode.TreeNodeAccessibleObjectTests.cs (9)
46
using TreeView control = new() {
CheckBoxes
= false };
57
using TreeView control = new() {
CheckBoxes
= false };
75
using TreeView control = new() {
CheckBoxes
= true };
88
using TreeView control = new() {
CheckBoxes
= true };
229
using TreeView control = new() {
CheckBoxes
= checkBoxes };
261
using TreeView control = new() {
CheckBoxes
= true };
345
using TreeView control = new() {
CheckBoxes
= true };
447
using TreeView control = new() {
CheckBoxes
= true };
462
using TreeView control = new() {
CheckBoxes
= true };
System\Windows\Forms\TreeNodeTests.cs (17)
580
CheckBoxes
= checkBoxes
609
CheckBoxes
= checkBoxes
654
CheckBoxes
= checkBoxes
920
CheckBoxes
= checkBoxes
3673
CheckBoxes
= checkBoxes
3711
CheckBoxes
= checkBoxes,
3759
CheckBoxes
= checkBoxes,
3795
CheckBoxes
= checkBoxes
3848
CheckBoxes
= checkBoxes
3940
CheckBoxes
= checkBoxes
4077
CheckBoxes
= checkBoxes
4107
CheckBoxes
= checkBoxes,
4149
CheckBoxes
= checkBoxes,
4173
CheckBoxes
= checkBoxes
4248
CheckBoxes
= checkBoxes,
4288
CheckBoxes
= checkBoxes,
4312
CheckBoxes
= checkBoxes
System\Windows\Forms\TreeViewTests.cs (29)
612
CheckBoxes
= checkBoxes
638
CheckBoxes
= checkBoxes
1040
CheckBoxes
= value
1045
treeView.
CheckBoxes
= value;
1049
treeView.
CheckBoxes
= !value;
1060
treeView.
CheckBoxes
= value;
1064
treeView.
CheckBoxes
= value;
1068
treeView.
CheckBoxes
= !value;
1077
CheckBoxes
= false
1097
treeView.
CheckBoxes
= true;
1103
treeView.
CheckBoxes
= true;
1109
treeView.
CheckBoxes
= false;
1117
treeView.
CheckBoxes
= true;
1128
CheckBoxes
= false
1149
treeView.
CheckBoxes
= true;
1155
treeView.
CheckBoxes
= true;
1161
treeView.
CheckBoxes
= false;
1169
treeView.
CheckBoxes
= true;
2446
CheckBoxes
= true,
2511
CheckBoxes
= true
2726
CheckBoxes
= checkBoxes,
5780
CheckBoxes
= checkBoxes
6018
CheckBoxes
= true,
6098
CheckBoxes
= true,
6983
using TreeView treeView = new() {
CheckBoxes
= checkBoxes };
7008
using TreeView treeView = new() {
CheckBoxes
= checkBoxes };
7033
using TreeView treeView = new() {
CheckBoxes
= checkBoxes };
7061
using TreeView treeView = new() {
CheckBoxes
= checkBoxes };
7089
using TreeView treeView = new() {
CheckBoxes
= checkBoxes };
WinFormsControlsTest (1)
TreeViewTest.Designer.cs (1)
42
this.treeView1.
CheckBoxes
= true;
39 references to CheckBoxes
System.Windows.Forms (19)
System\Windows\Forms\Controls\TreeView\TreeNode.cs (5)
339
!_treeView.
CheckBoxes
|| (((int)item.state >> SHIFTVAL) > 1) == CheckedInternal,
1000
if (_treeView is not null && !_treeView.
CheckBoxes
)
1040
if (_treeView is not null && !_treeView.
CheckBoxes
)
1638
if (_treeView.
CheckBoxes
&& _treeView.StateImageList is not null)
1852
if (tv.
CheckBoxes
)
System\Windows\Forms\Controls\TreeView\TreeNode.TreeNodeAccessibleObject.cs (4)
40
if (_owningTreeView.
CheckBoxes
)
63
if (_owningTreeView.
CheckBoxes
)
131
UIA_PATTERN_ID.UIA_TogglePatternId when _owningTreeView.
CheckBoxes
=> true,
145
=> _owningTreeView.
CheckBoxes
System\Windows\Forms\Controls\TreeView\TreeView.cs (10)
282
if (
CheckBoxes
!= value)
287
if (
CheckBoxes
)
385
if (
CheckBoxes
&& IsHandleCreated)
710
if ((_stateImageList is null || _stateImageList.Images.Count == 0) &&
CheckBoxes
)
785
if (
CheckBoxes
&& (DrawMode == TreeViewDrawMode.OwnerDrawAll))
1869
if (
CheckBoxes
)
2257
if (
CheckBoxes
&& (e.KeyData & Keys.KeyCode) == Keys.Space)
2623
if (IsHandleCreated &&
CheckBoxes
)
3192
if (
CheckBoxes
)
3283
if (!ValidationCancelled &&
CheckBoxes
)
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\TreeNodeCollectionEditor.cs (1)
481
_treeView1.CheckBoxes = actualTreeView.
CheckBoxes
;
System.Windows.Forms.Tests (19)
System\Windows\Forms\TreeViewTests.cs (19)
38
Assert.False(control.
CheckBoxes
);
1042
Assert.Equal(value, treeView.
CheckBoxes
);
1046
Assert.Equal(value, treeView.
CheckBoxes
);
1050
Assert.Equal(!value, treeView.
CheckBoxes
);
1061
Assert.Equal(value, treeView.
CheckBoxes
);
1065
Assert.Equal(value, treeView.
CheckBoxes
);
1069
Assert.Equal(!value, treeView.
CheckBoxes
);
1098
Assert.True(treeView.
CheckBoxes
);
1104
Assert.True(treeView.
CheckBoxes
);
1110
Assert.False(treeView.
CheckBoxes
);
1118
Assert.True(treeView.
CheckBoxes
);
1150
Assert.True(treeView.
CheckBoxes
);
1156
Assert.True(treeView.
CheckBoxes
);
1162
Assert.False(treeView.
CheckBoxes
);
1170
Assert.True(treeView.
CheckBoxes
);
6046
Assert.True(control.
CheckBoxes
);
6064
Assert.True(control.
CheckBoxes
);
6127
Assert.True(control.
CheckBoxes
);
6145
Assert.True(control.
CheckBoxes
);