27 writes to CheckState
Accessibility_Core_App (4)
Menu_Toolbars_controls.Designer.cs (4)
548
toolStripButton3.
CheckState
= CheckState.Checked;
559
toolStripButton4.
CheckState
= CheckState.Checked;
571
toolStripButton5.
CheckState
= CheckState.Indeterminate;
582
toolStripButton6.
CheckState
= CheckState.Indeterminate;
System.Windows.Forms (1)
System\Windows\Forms\Controls\ToolStrips\ToolStripButton.cs (1)
81
CheckState
= value ? CheckState.Checked : CheckState.Unchecked;
System.Windows.Forms.Tests (17)
System\Windows\Forms\AccessibleObjects\ToolStripButton.ToolStripButtonAccessibleObjectTests.cs (2)
136
CheckState
= checkState
165
CheckState
= checkState
System\Windows\Forms\ToolStripButtonTests.cs (14)
867
CheckState
= value
873
item.
CheckState
= value;
886
CheckState
= value
893
item.
CheckState
= value;
916
item.
CheckState
= value;
925
item.
CheckState
= value;
939
CheckState
= CheckState.Checked
959
item.
CheckState
= CheckState.Unchecked;
965
item.
CheckState
= CheckState.Unchecked;
971
item.
CheckState
= CheckState.Indeterminate;
978
item.
CheckState
= CheckState.Unchecked;
985
item.
CheckState
= CheckState.Indeterminate;
996
Assert.Throws<InvalidEnumArgumentException>("value", () => item.
CheckState
= value);
1048
CheckState
= checkState
System\Windows\Forms\ToolStripButtonTests.Rendering.cs (1)
98
toolStripButton.
CheckState
= CheckState.Indeterminate;
WinFormsControlsTest (5)
ToolStripTests.Designer.cs (5)
162
this.toolStrip2_Button1.
CheckState
= System.Windows.Forms.CheckState.Unchecked;
170
this.toolStrip2_Button2.
CheckState
= System.Windows.Forms.CheckState.Checked;
179
this.toolStrip2_Button3.
CheckState
= System.Windows.Forms.CheckState.Indeterminate;
188
this.toolStrip2_Button4.
CheckState
= System.Windows.Forms.CheckState.Unchecked;
267
this.thirdLevelButton.
CheckState
= System.Windows.Forms.CheckState.Checked;
34 references to CheckState
System.Windows.Forms (2)
System\Windows\Forms\Controls\ToolStrips\ToolStripButton.ToolStripButtonAccessibleObject.cs (1)
80
=> CheckStateToToggleState(_ownerItem.
CheckState
);
System\Windows\Forms\Controls\ToolStrips\ToolstripProfessionalRenderer.cs (1)
349
if (item is not null && item.
CheckState
== CheckState.Unchecked)
System.Windows.Forms.Tests (32)
System\Windows\Forms\ToolStripButtonTests.cs (32)
38
Assert.Equal(CheckState.Unchecked, item.
CheckState
);
119
Assert.Equal(CheckState.Unchecked, item.
CheckState
);
206
Assert.Equal(CheckState.Unchecked, item.
CheckState
);
296
Assert.Equal(CheckState.Unchecked, item.
CheckState
);
384
Assert.Equal(CheckState.Unchecked, item.
CheckState
);
482
Assert.Equal(CheckState.Unchecked, item.
CheckState
);
645
Assert.Equal(expectedCheckState1, item.
CheckState
);
650
Assert.Equal(expectedCheckState1, item.
CheckState
);
655
Assert.Equal(expectedCheckState2, item.
CheckState
);
670
Assert.Equal(expectedCheckState1, item.
CheckState
);
676
Assert.Equal(expectedCheckState1, item.
CheckState
);
682
Assert.Equal(expectedCheckState2, item.
CheckState
);
706
Assert.Equal(expectedCheckState1, item.
CheckState
);
715
Assert.Equal(expectedCheckState1, item.
CheckState
);
724
Assert.Equal(expectedCheckState2, item.
CheckState
);
743
Assert.Equal(expectedCheckState1, item.
CheckState
);
749
Assert.Equal(expectedCheckState1, item.
CheckState
);
755
Assert.Equal(expectedCheckState2, item.
CheckState
);
779
Assert.Equal(expectedCheckState1, item.
CheckState
);
788
Assert.Equal(expectedCheckState1, item.
CheckState
);
797
Assert.Equal(expectedCheckState2, item.
CheckState
);
869
Assert.Equal(value, item.
CheckState
);
874
Assert.Equal(value, item.
CheckState
);
888
Assert.Equal(value, item.
CheckState
);
894
Assert.Equal(value, item.
CheckState
);
917
Assert.Equal(value, item.
CheckState
);
926
Assert.Equal(value, item.
CheckState
);
960
Assert.Equal(CheckState.Unchecked, item.
CheckState
);
966
Assert.Equal(CheckState.Unchecked, item.
CheckState
);
972
Assert.Equal(CheckState.Indeterminate, item.
CheckState
);
979
Assert.Equal(CheckState.Unchecked, item.
CheckState
);
986
Assert.Equal(CheckState.Indeterminate, item.
CheckState
);