23 writes to CheckState
Accessibility_Core_App (4)
Menu_Toolbars_controls.Designer.cs (4)
374checkCheckOnClickToolStripMenuItem.CheckState = CheckState.Checked; 382checkedCheckOnClickFToolStripMenuItem.CheckState = CheckState.Checked; 391indeterminateToolStripMenuItem.CheckState = CheckState.Indeterminate; 399indeterminateCheckOnClickFToolStripMenuItem.CheckState = CheckState.Indeterminate;
System.Windows.Forms (2)
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (2)
260CheckState = value ? CheckState.Checked : CheckState.Unchecked; 501menuItem.CheckState = CheckState;
System.Windows.Forms.Tests (5)
System\Windows\Forms\AccessibleObjects\ToolStripMenuItem.ToolStripMenuItemAccessibleObjectTests.cs (2)
209CheckState = checkState 225CheckState = checkState
System\Windows\Forms\ToolStripMenuItemTests.cs (3)
281CheckState = CheckState.Checked, 399item.CheckState = CheckState.Checked; 403item.CheckState = CheckState.Unchecked;
WinFormsControlsTest (12)
MenuStripAndCheckedListBox.Designer.cs (4)
236this.checkedToolStripMenuItem.CheckState = System.Windows.Forms.CheckState.Checked; 246this.checkedCheckOnClickToolStripMenuItem.CheckState = System.Windows.Forms.CheckState.Checked; 255this.indeterminateToolStripMenuItem.CheckState = System.Windows.Forms.CheckState.Indeterminate; 265this.indeterminateCheckOnClickToolStripMenuItem.CheckState = System.Windows.Forms.CheckState.Indeterminate;
ToolStripTests.Designer.cs (8)
222this.toolStrip3_MenuItem1.CheckState = System.Windows.Forms.CheckState.Checked; 247this.checkCheckOnClickToolStripMenuItem.CheckState = CheckState.Checked; 259this.thirdLevelItem.CheckState = System.Windows.Forms.CheckState.Checked; 299this.toolStripMenuItem1.CheckState = System.Windows.Forms.CheckState.Checked; 316this.toolStripMenuItem2.CheckState = System.Windows.Forms.CheckState.Checked; 321this.checkedCheckOnClickFToolStripMenuItem.CheckState = CheckState.Checked; 330this.indeterminateToolStripMenuItem.CheckState = CheckState.Indeterminate; 338this.indeterminateCheckOnClickFToolStripMenuItem.CheckState = CheckState.Indeterminate;
11 references to CheckState
System.Windows.Forms (8)
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (5)
255get => CheckState != CheckState.Unchecked; 270internal Image? CheckedImage => CheckState switch 308if (value != CheckState) 501menuItem.CheckState = CheckState; 977if (CheckState != CheckState.Unchecked && menuItemInternalLayout.PaintCheck)
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.ToolStripMenuItemAccessibleObject.cs (1)
142_owningToolStripMenuItem.CheckState switch
System\Windows\Forms\Controls\ToolStrips\ToolstripProfessionalRenderer.cs (2)
660else if (item is ToolStripMenuItem menuItem && menuItem.CheckState == CheckState.Checked) 749if (item is not null && item.CheckState != CheckState.Unchecked)
System.Windows.Forms.Tests (3)
System\Windows\Forms\ToolStripMenuItemTests.cs (3)
52Assert.Equal(CheckState.Unchecked, item.CheckState); 326clone.CheckState.Should().Be(original.CheckState);