41 writes to Checked
Accessibility_Core_App (4)
Menu_Toolbars_controls.Designer.cs (4)
372checkCheckOnClickToolStripMenuItem.Checked = true; 381checkedCheckOnClickFToolStripMenuItem.Checked = true; 389indeterminateToolStripMenuItem.Checked = true; 398indeterminateCheckOnClickFToolStripMenuItem.Checked = true;
System.Windows.Forms (6)
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (2)
499menuItem.Checked = Checked; 765Checked = !Checked;
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.ToolStripMenuItemAccessibleObject.cs (1)
137_owningToolStripMenuItem.Checked = !_owningToolStripMenuItem.Checked;
System\Windows\Forms\MDI\MdiWindowListStrip.cs (1)
125windowListItem.Checked = true;
System\Windows\Forms\Printing\PrintPreviewDialog.cs (2)
825_autoToolStripMenuItem.Checked = true; 1072item.Checked = toChecked == item;
System.Windows.Forms.Design (20)
System\Windows\Forms\Design\DesignerVerbToolStripMenuItem.cs (1)
28Checked = _verb.Checked;
System\Windows\Forms\Design\StandardCommandToolStripMenuItem.cs (1)
54Checked = _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; 432senderItem.Checked = true;
System.Windows.Forms.Tests (3)
System\Windows\Forms\ToolStripMenuItemTests.cs (3)
279Checked = true, 382item.Checked = true; 386item.Checked = false;
WinFormsControlsTest (8)
MenuStripAndCheckedListBox.Designer.cs (4)
235this.checkedToolStripMenuItem.Checked = true; 244this.checkedCheckOnClickToolStripMenuItem.Checked = true; 254this.indeterminateToolStripMenuItem.Checked = true; 263this.indeterminateCheckOnClickToolStripMenuItem.Checked = true;
ToolStripTests.Designer.cs (4)
245this.checkCheckOnClickToolStripMenuItem.Checked = true; 320this.checkedCheckOnClickFToolStripMenuItem.Checked = true; 328this.indeterminateToolStripMenuItem.Checked = true; 337this.indeterminateCheckOnClickFToolStripMenuItem.Checked = true;
15 references to Checked
System.Windows.Forms (8)
System\Windows\Forms\Controls\ToolStrips\ToolStripHighContrastRenderer.cs (2)
184if (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)
258if (value != Checked) 499menuItem.Checked = Checked; 765Checked = !Checked;
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.ToolStripMenuItemAccessibleObject.cs (3)
37if (_owningToolStripMenuItem.Checked) 127UIA_PATTERN_ID.UIA_TogglePatternId => _owningToolStripMenuItem.CheckOnClick || _owningToolStripMenuItem.Checked, 137_owningToolStripMenuItem.Checked = !_owningToolStripMenuItem.Checked;
System.Windows.Forms.Design.Tests (2)
System\Windows\Forms\Design\DesignerVerbToolStripMenuItemTests.cs (2)
20item.Checked.Should().BeFalse(); 36item.Checked.Should().BeTrue();
System.Windows.Forms.Tests (3)
System\Windows\Forms\ToolStripMenuItemTests.cs (3)
50Assert.False(item.Checked); 324clone.Checked.Should().Be(original.Checked);
System.Windows.Forms.UI.IntegrationTests (2)
MenuStripTests.cs (2)
28toolStripMenuItem2.Checked.Should().BeFalse(); 30toolStripMenuItem2.Checked.Should().BeFalse();