27 writes to CheckState
System.Windows.Forms (1)
System\Windows\Forms\Controls\ToolStrips\ToolStripButton.cs (1)
81CheckState = value ? CheckState.Checked : CheckState.Unchecked;
System.Windows.Forms.Tests (17)
System\Windows\Forms\AccessibleObjects\ToolStripButton.ToolStripButtonAccessibleObjectTests.cs (2)
138CheckState = checkState 167CheckState = checkState
System\Windows\Forms\ToolStripButtonTests.cs (14)
869CheckState = value 875item.CheckState = value; 888CheckState = value 895item.CheckState = value; 918item.CheckState = value; 927item.CheckState = value; 941CheckState = CheckState.Checked 961item.CheckState = CheckState.Unchecked; 967item.CheckState = CheckState.Unchecked; 973item.CheckState = CheckState.Indeterminate; 980item.CheckState = CheckState.Unchecked; 987item.CheckState = CheckState.Indeterminate; 998Assert.Throws<InvalidEnumArgumentException>("value", () => item.CheckState = value); 1050CheckState = checkState
System\Windows\Forms\ToolStripButtonTests.Rendering.cs (1)
100toolStripButton.CheckState = CheckState.Indeterminate;
TestPassApp (4)
Menu_Toolbars_controls.Designer.cs (4)
548toolStripButton3.CheckState = CheckState.Checked; 559toolStripButton4.CheckState = CheckState.Checked; 571toolStripButton5.CheckState = CheckState.Indeterminate; 582toolStripButton6.CheckState = CheckState.Indeterminate;
WinFormsControlsTest (5)
ToolStripTests.Designer.cs (5)
162this.toolStrip2_Button1.CheckState = System.Windows.Forms.CheckState.Unchecked; 170this.toolStrip2_Button2.CheckState = System.Windows.Forms.CheckState.Checked; 179this.toolStrip2_Button3.CheckState = System.Windows.Forms.CheckState.Indeterminate; 188this.toolStrip2_Button4.CheckState = System.Windows.Forms.CheckState.Unchecked; 267this.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)
349if (item is not null && item.CheckState == CheckState.Unchecked)
System.Windows.Forms.Tests (32)
System\Windows\Forms\ToolStripButtonTests.cs (32)
40Assert.Equal(CheckState.Unchecked, item.CheckState); 121Assert.Equal(CheckState.Unchecked, item.CheckState); 208Assert.Equal(CheckState.Unchecked, item.CheckState); 298Assert.Equal(CheckState.Unchecked, item.CheckState); 386Assert.Equal(CheckState.Unchecked, item.CheckState); 484Assert.Equal(CheckState.Unchecked, item.CheckState); 647Assert.Equal(expectedCheckState1, item.CheckState); 652Assert.Equal(expectedCheckState1, item.CheckState); 657Assert.Equal(expectedCheckState2, item.CheckState); 672Assert.Equal(expectedCheckState1, item.CheckState); 678Assert.Equal(expectedCheckState1, item.CheckState); 684Assert.Equal(expectedCheckState2, item.CheckState); 708Assert.Equal(expectedCheckState1, item.CheckState); 717Assert.Equal(expectedCheckState1, item.CheckState); 726Assert.Equal(expectedCheckState2, item.CheckState); 745Assert.Equal(expectedCheckState1, item.CheckState); 751Assert.Equal(expectedCheckState1, item.CheckState); 757Assert.Equal(expectedCheckState2, item.CheckState); 781Assert.Equal(expectedCheckState1, item.CheckState); 790Assert.Equal(expectedCheckState1, item.CheckState); 799Assert.Equal(expectedCheckState2, item.CheckState); 871Assert.Equal(value, item.CheckState); 876Assert.Equal(value, item.CheckState); 890Assert.Equal(value, item.CheckState); 896Assert.Equal(value, item.CheckState); 919Assert.Equal(value, item.CheckState); 928Assert.Equal(value, item.CheckState); 962Assert.Equal(CheckState.Unchecked, item.CheckState); 968Assert.Equal(CheckState.Unchecked, item.CheckState); 974Assert.Equal(CheckState.Indeterminate, item.CheckState); 981Assert.Equal(CheckState.Unchecked, item.CheckState); 988Assert.Equal(CheckState.Indeterminate, item.CheckState);