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