31 writes to Checked
Accessibility_Core_App (4)
Menu_Toolbars_controls.Designer.cs (4)
546
toolStripButton3.
Checked
= true;
558
toolStripButton4.
Checked
= true;
569
toolStripButton5.
Checked
= true;
581
toolStripButton6.
Checked
= true;
System.Windows.Forms (4)
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (2)
3729
button.
Checked
= true;
4359
button.
Checked
= !button.Checked;
System\Windows\Forms\Controls\ToolStrips\ToolStripButton.cs (1)
229
Checked
= !Checked;
System\Windows\Forms\Controls\ToolStrips\ToolStripButton.ToolStripButtonAccessibleObject.cs (1)
75
_ownerItem.
Checked
= !_ownerItem.Checked;
System.Windows.Forms.Tests (23)
System\Windows\Forms\AccessibleObjects\ToolStripButton.ToolStripButtonAccessibleObjectTests.cs (2)
60
Checked
= true
115
Checked
= true
System\Windows\Forms\ToolStripButtonTests.cs (21)
642
Checked
= value
648
item.
Checked
= value;
653
item.
Checked
= !value;
667
Checked
= value
674
item.
Checked
= value;
680
item.
Checked
= !value;
704
item.
Checked
= value;
713
item.
Checked
= value;
722
item.
Checked
= !value;
740
Checked
= value
747
item.
Checked
= value;
753
item.
Checked
= !value;
777
item.
Checked
= value;
786
item.
Checked
= value;
795
item.
Checked
= !value;
809
Checked
= true
829
item.
Checked
= false;
835
item.
Checked
= false;
841
item.
Checked
= true;
848
item.
Checked
= false;
855
item.
Checked
= true;
72 references to Checked
System.Windows.Forms (12)
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (2)
4341
m.ResultInternal = (LRESULT)(nint)(BOOL)button.
Checked
;
4359
button.Checked = !button.
Checked
;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridToolStripButton.PropertyGridToolStripButtonAccessibleObject.cs (2)
22
=> _owningPropertyGridToolStripButton.
Checked
;
47
bool initialState = _owningPropertyGridToolStripButton.
Checked
;
System\Windows\Forms\Controls\ToolStrips\ToolStripButton.cs (2)
79
if (value !=
Checked
)
229
Checked = !
Checked
;
System\Windows\Forms\Controls\ToolStrips\ToolStripButton.ToolStripButtonAccessibleObject.cs (3)
40
if (_ownerItem.CheckOnClick || _ownerItem.
Checked
)
53
if (_ownerItem.Enabled && _ownerItem.
Checked
)
75
_ownerItem.Checked = !_ownerItem.
Checked
;
System\Windows\Forms\Controls\ToolStrips\ToolStripHighContrastRenderer.cs (2)
239
&& ((ToolStripButton)e.Item).
Checked
)
407
if (e.Item is ToolStripButton button && button.
Checked
)
System\Windows\Forms\Controls\ToolStrips\ToolStripSystemRenderer.cs (1)
157
if (item is ToolStripButton toolStripButton && toolStripButton.
Checked
)
System.Windows.Forms.Tests (60)
System\Windows\Forms\AccessibleObjects\PropertyGridToolStripButton.PropertyGridToolStripButtonAccessibleObjectTests.cs (22)
79
Assert.True(categoryButton.
Checked
);
80
Assert.False(alphaButton.
Checked
);
85
Assert.False(categoryButton.
Checked
);
86
Assert.True(alphaButton.
Checked
);
91
Assert.True(categoryButton.
Checked
);
92
Assert.False(alphaButton.
Checked
);
107
Assert.True(categoryButton.
Checked
);
108
Assert.False(alphaButton.
Checked
);
113
Assert.False(categoryButton.
Checked
);
114
Assert.True(alphaButton.
Checked
);
119
Assert.True(categoryButton.
Checked
);
120
Assert.False(alphaButton.
Checked
);
135
Assert.True(categoryButton.
Checked
);
136
Assert.False(alphaButton.
Checked
);
141
Assert.True(categoryButton.
Checked
);
142
Assert.False(alphaButton.
Checked
);
157
Assert.True(categoryButton.
Checked
);
158
Assert.False(alphaButton.
Checked
);
163
Assert.False(categoryButton.
Checked
);
164
Assert.True(alphaButton.
Checked
);
169
Assert.True(categoryButton.
Checked
);
170
Assert.False(alphaButton.
Checked
);
System\Windows\Forms\AccessibleObjects\ToolStripButton.ToolStripButtonAccessibleObjectTests.cs (2)
204
Assert.False(toolStripButton.
Checked
);
208
Assert.False(toolStripButton.
Checked
);
System\Windows\Forms\ToolStripButtonTests.cs (36)
36
Assert.False(item.
Checked
);
117
Assert.False(item.
Checked
);
204
Assert.False(item.
Checked
);
294
Assert.False(item.
Checked
);
382
Assert.False(item.
Checked
);
480
Assert.False(item.
Checked
);
644
Assert.Equal(value, item.
Checked
);
649
Assert.Equal(value, item.
Checked
);
654
Assert.Equal(!value, item.
Checked
);
669
Assert.Equal(value, item.
Checked
);
675
Assert.Equal(value, item.
Checked
);
681
Assert.Equal(!value, item.
Checked
);
705
Assert.Equal(value, item.
Checked
);
714
Assert.Equal(value, item.
Checked
);
723
Assert.Equal(!value, item.
Checked
);
742
Assert.Equal(value, item.
Checked
);
748
Assert.Equal(value, item.
Checked
);
754
Assert.Equal(!value, item.
Checked
);
778
Assert.Equal(value, item.
Checked
);
787
Assert.Equal(value, item.
Checked
);
796
Assert.Equal(!value, item.
Checked
);
830
Assert.False(item.
Checked
);
836
Assert.False(item.
Checked
);
842
Assert.True(item.
Checked
);
849
Assert.False(item.
Checked
);
856
Assert.True(item.
Checked
);
870
Assert.Equal(value != CheckState.Unchecked, item.
Checked
);
875
Assert.Equal(value != CheckState.Unchecked, item.
Checked
);
889
Assert.Equal(value != CheckState.Unchecked, item.
Checked
);
895
Assert.Equal(value != CheckState.Unchecked, item.
Checked
);
918
Assert.Equal(value != CheckState.Unchecked, item.
Checked
);
927
Assert.Equal(value != CheckState.Unchecked, item.
Checked
);
1161
Assert.False(item.
Checked
);
1167
Assert.False(item.
Checked
);
1190
Assert.True(item.
Checked
);
1196
Assert.False(item.
Checked
);