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