28 writes to Checked
System.Windows.Forms (2)
System\Windows\Forms\Controls\TreeView\TreeNode.cs (1)
1395node.Checked = Checked;
System\Windows\Forms\Controls\TreeView\TreeNode.TreeNodeAccessibleObject.cs (1)
260internal override void Toggle() => _owningTreeNode.Checked = !_owningTreeNode.Checked;
System.Windows.Forms.Tests (26)
SerializableTypesTests.cs (1)
351Checked = true,
System\Windows\Forms\AccessibleObjects\TreeNode.TreeNodeAccessibleObjectTests.cs (4)
76TreeNode node = new(control) { Checked = isChecked }; 89TreeNode node = new(control) { Checked = isChecked }; 448TreeNode node = new(control) { Checked = isChecked }; 463TreeNode node = new(control) { Checked = isChecked };
System\Windows\Forms\TreeNodeTests.cs (15)
558Checked = value 563node.Checked = value; 567node.Checked = !value; 585node.Checked = value; 590node.Checked = value; 595node.Checked = !value; 621node.Checked = value; 629node.Checked = value; 637node.Checked = !value; 666node.Checked = @checked; 687node.Checked = value; 692node.Checked = value; 697node.Checked = !value; 924Checked = @checked 4720Checked = isChecked
System\Windows\Forms\TreeViewTests.cs (6)
6987treeView.Nodes[0].Checked = true; 7015node.Checked = true; 7040treeNode.Nodes[0].Checked = true; 7071node.Checked = true; 7096treeView.Nodes[0].Checked = true; 7097treeNode.Nodes[0].Checked = true;
47 references to Checked
System.Windows.Forms (6)
System\Windows\Forms\Controls\TreeView\TreeNode.cs (3)
1395node.Checked = Checked; 1642StateImageIndex = (Checked) ? 1 : 0; 1647StateImageIndex = (Checked) ? 1 : 0;
System\Windows\Forms\Controls\TreeView\TreeNode.TreeNodeAccessibleObject.cs (3)
42return _owningTreeNode.Checked 260internal override void Toggle() => _owningTreeNode.Checked = !_owningTreeNode.Checked; 263=> _owningTreeNode.Checked ? ToggleState.ToggleState_On : ToggleState.ToggleState_Off;
System.Windows.Forms.Tests (41)
SerializableTypesTests.cs (1)
376Assert.True(result.Checked);
System\Windows\Forms\AccessibleObjects\TreeNode.TreeNodeAccessibleObjectTests.cs (4)
91Assert.Equal(isChecked, node.Checked); 95Assert.Equal(!isChecked, node.Checked); 450Assert.Equal(isChecked, node.Checked); 454Assert.Equal(!isChecked, node.Checked);
System\Windows\Forms\TreeNodeCollectionTests.cs (1)
24Assert.False(treeNode.Checked);
System\Windows\Forms\TreeNodeTests.cs (19)
19Assert.False(node.Checked); 59Assert.False(node.Checked); 107Assert.False(node.Checked); 150Assert.False(node.Checked); 198Assert.False(node.Checked); 560Assert.Equal(value, node.Checked); 564Assert.Equal(value, node.Checked); 568Assert.Equal(!value, node.Checked); 586Assert.Equal(value, node.Checked); 591Assert.Equal(value, node.Checked); 596Assert.Equal(!value, node.Checked); 622Assert.Equal(value, node.Checked); 630Assert.Equal(value, node.Checked); 638Assert.Equal(!value, node.Checked); 688Assert.Equal(value, node.Checked); 693Assert.Equal(value, node.Checked); 698Assert.Equal(!value, node.Checked); 4728clonedNode.Checked.Should().Be(treeNode.Checked);
System\Windows\Forms\TreeViewTests.cs (16)
5817Assert.Equal(expectedAfterCheckCallCount == 1, node.Checked); 5825Assert.False(node.Checked); 6989Assert.True(treeView.Nodes[0].Checked); 6994Assert.True(treeView.Nodes[0].Checked); 6999Assert.True(treeView.Nodes[0].Checked); 7017Assert.True(node.Checked); 7023Assert.True(node.Checked); 7042Assert.True(treeNode.Nodes[0].Checked); 7047Assert.True(treeNode.Nodes[0].Checked); 7052Assert.True(treeNode.Nodes[0].Checked); 7073Assert.True(node.Checked); 7079Assert.True(node.Checked); 7099Assert.True(treeNode.Checked); 7100Assert.True(treeNode.Nodes[0].Checked); 7106Assert.True(treeNode.Checked); 7107Assert.True(treeNode.Nodes[0].Checked);