27 writes to CheckState
Accessibility_Core_App (4)
Menu_Toolbars_controls.Designer.cs (4)
548toolStripButton3.CheckState = CheckState.Checked; 559toolStripButton4.CheckState = CheckState.Checked; 571toolStripButton5.CheckState = CheckState.Indeterminate; 582toolStripButton6.CheckState = CheckState.Indeterminate;
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)
136CheckState = checkState 165CheckState = checkState
System\Windows\Forms\ToolStripButtonTests.cs (14)
867CheckState = value 873item.CheckState = value; 886CheckState = value 893item.CheckState = value; 916item.CheckState = value; 925item.CheckState = value; 939CheckState = CheckState.Checked 959item.CheckState = CheckState.Unchecked; 965item.CheckState = CheckState.Unchecked; 971item.CheckState = CheckState.Indeterminate; 978item.CheckState = CheckState.Unchecked; 985item.CheckState = CheckState.Indeterminate; 996Assert.Throws<InvalidEnumArgumentException>("value", () => item.CheckState = value); 1048CheckState = checkState
System\Windows\Forms\ToolStripButtonTests.Rendering.cs (1)
98toolStripButton.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)
38Assert.Equal(CheckState.Unchecked, item.CheckState); 119Assert.Equal(CheckState.Unchecked, item.CheckState); 206Assert.Equal(CheckState.Unchecked, item.CheckState); 296Assert.Equal(CheckState.Unchecked, item.CheckState); 384Assert.Equal(CheckState.Unchecked, item.CheckState); 482Assert.Equal(CheckState.Unchecked, item.CheckState); 645Assert.Equal(expectedCheckState1, item.CheckState); 650Assert.Equal(expectedCheckState1, item.CheckState); 655Assert.Equal(expectedCheckState2, item.CheckState); 670Assert.Equal(expectedCheckState1, item.CheckState); 676Assert.Equal(expectedCheckState1, item.CheckState); 682Assert.Equal(expectedCheckState2, item.CheckState); 706Assert.Equal(expectedCheckState1, item.CheckState); 715Assert.Equal(expectedCheckState1, item.CheckState); 724Assert.Equal(expectedCheckState2, item.CheckState); 743Assert.Equal(expectedCheckState1, item.CheckState); 749Assert.Equal(expectedCheckState1, item.CheckState); 755Assert.Equal(expectedCheckState2, item.CheckState); 779Assert.Equal(expectedCheckState1, item.CheckState); 788Assert.Equal(expectedCheckState1, item.CheckState); 797Assert.Equal(expectedCheckState2, item.CheckState); 869Assert.Equal(value, item.CheckState); 874Assert.Equal(value, item.CheckState); 888Assert.Equal(value, item.CheckState); 894Assert.Equal(value, item.CheckState); 917Assert.Equal(value, item.CheckState); 926Assert.Equal(value, item.CheckState); 960Assert.Equal(CheckState.Unchecked, item.CheckState); 966Assert.Equal(CheckState.Unchecked, item.CheckState); 972Assert.Equal(CheckState.Indeterminate, item.CheckState); 979Assert.Equal(CheckState.Unchecked, item.CheckState); 986Assert.Equal(CheckState.Indeterminate, item.CheckState);