41 writes to Checked
Accessibility_Core_App (4)
Menu_Toolbars_controls.Designer.cs (4)
372
checkCheckOnClickToolStripMenuItem.
Checked
= true;
381
checkedCheckOnClickFToolStripMenuItem.
Checked
= true;
389
indeterminateToolStripMenuItem.
Checked
= true;
398
indeterminateCheckOnClickFToolStripMenuItem.
Checked
= true;
System.Windows.Forms (6)
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (2)
499
menuItem.
Checked
= Checked;
765
Checked
= !Checked;
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.ToolStripMenuItemAccessibleObject.cs (1)
137
_owningToolStripMenuItem.
Checked
= !_owningToolStripMenuItem.Checked;
System\Windows\Forms\MDI\MdiWindowListStrip.cs (1)
125
windowListItem.
Checked
= true;
System\Windows\Forms\Printing\PrintPreviewDialog.cs (2)
825
_autoToolStripMenuItem.
Checked
= true;
1072
item.
Checked
= toChecked == item;
System.Windows.Forms.Design (20)
System\Windows\Forms\Design\DesignerVerbToolStripMenuItem.cs (1)
28
Checked
= _verb.Checked;
System\Windows\Forms\Design\StandardCommandToolStripMenuItem.cs (1)
54
Checked
= _menuCommand.Checked;
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (6)
1603
((ToolStripMenuItem)menu.Items["absolute"]).
Checked
= false;
1604
((ToolStripMenuItem)menu.Items["percent"]).
Checked
= false;
1605
((ToolStripMenuItem)menu.Items["autosize"]).
Checked
= false;
1611
((ToolStripMenuItem)menu.Items["absolute"]).
Checked
= true;
1614
((ToolStripMenuItem)menu.Items["percent"]).
Checked
= true;
1617
((ToolStripMenuItem)menu.Items["autosize"]).
Checked
= true;
System\Windows\Forms\Design\ToolStripItemCustomMenuItemCollection.cs (10)
621
_leftToolStripMenuItem.
Checked
= currentAlignmentValue == ToolStripItemAlignment.Left;
622
_rightToolStripMenuItem.
Checked
= currentAlignmentValue == ToolStripItemAlignment.Right;
628
_noneStyleToolStripMenuItem.
Checked
= currentDisplayStyleValue == ToolStripItemDisplayStyle.None;
629
_textStyleToolStripMenuItem.
Checked
= currentDisplayStyleValue == ToolStripItemDisplayStyle.Text;
630
_imageStyleToolStripMenuItem.
Checked
= currentDisplayStyleValue == ToolStripItemDisplayStyle.Image;
631
_imageTextStyleToolStripMenuItem.
Checked
= currentDisplayStyleValue == ToolStripItemDisplayStyle.ImageAndText;
640
_enabledToolStripMenuItem.
Checked
= (bool)GetProperty("Enabled");
643
_checkedToolStripMenuItem.
Checked
= (bool)GetProperty("Checked");
644
_showShortcutKeysToolStripMenuItem.
Checked
= (bool)GetProperty("ShowShortcutKeys");
650
_isLinkToolStripMenuItem.
Checked
= (bool)GetProperty("IsLink");
System\Windows\Forms\Design\ToolStripTemplateNode.cs (2)
428
_lastSelection.
Checked
= false;
432
senderItem.
Checked
= true;
System.Windows.Forms.Tests (3)
System\Windows\Forms\ToolStripMenuItemTests.cs (3)
279
Checked
= true,
382
item.
Checked
= true;
386
item.
Checked
= false;
WinFormsControlsTest (8)
MenuStripAndCheckedListBox.Designer.cs (4)
235
this.checkedToolStripMenuItem.
Checked
= true;
244
this.checkedCheckOnClickToolStripMenuItem.
Checked
= true;
254
this.indeterminateToolStripMenuItem.
Checked
= true;
263
this.indeterminateCheckOnClickToolStripMenuItem.
Checked
= true;
ToolStripTests.Designer.cs (4)
245
this.checkCheckOnClickToolStripMenuItem.
Checked
= true;
320
this.checkedCheckOnClickFToolStripMenuItem.
Checked
= true;
328
this.indeterminateToolStripMenuItem.
Checked
= true;
337
this.indeterminateCheckOnClickFToolStripMenuItem.
Checked
= true;
13 references to Checked
System.Windows.Forms (8)
System\Windows\Forms\Controls\ToolStrips\ToolStripHighContrastRenderer.cs (2)
184
if (e.Item is ToolStripMenuItem menuItem && !e.Item.IsOnDropDown && (menuItem.
Checked
|| menuItem.Selected))
243
&& ((ToolStripMenuItem)e.Item).
Checked
))
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (3)
258
if (value !=
Checked
)
499
menuItem.Checked =
Checked
;
765
Checked = !
Checked
;
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.ToolStripMenuItemAccessibleObject.cs (3)
37
if (_owningToolStripMenuItem.
Checked
)
127
UIA_PATTERN_ID.UIA_TogglePatternId => _owningToolStripMenuItem.CheckOnClick || _owningToolStripMenuItem.
Checked
,
137
_owningToolStripMenuItem.Checked = !_owningToolStripMenuItem.
Checked
;
System.Windows.Forms.Tests (3)
System\Windows\Forms\ToolStripMenuItemTests.cs (3)
50
Assert.False(item.
Checked
);
324
clone.
Checked
.Should().Be(original.
Checked
);
System.Windows.Forms.UI.IntegrationTests (2)
MenuStripTests.cs (2)
28
toolStripMenuItem2.
Checked
.Should().BeFalse();
30
toolStripMenuItem2.
Checked
.Should().BeFalse();