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