2 writes to CheckState
System.Windows.Forms (2)
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (2)
260CheckState = value ? CheckState.Checked : CheckState.Unchecked; 501menuItem.CheckState = CheckState;
8 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; 974if (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)
659else if (item is ToolStripMenuItem menuItem && menuItem.CheckState == CheckState.Checked) 748if (item is not null && item.CheckState != CheckState.Unchecked)