When I look it up, they list it as having a .Checked
property. But both in Visual Studio and on msdn, it doesn't list any kid of Checked
property.
ContextMenuStrip menu = new ContextMenuStrip ( );
var menuItem = menu.Items.Add ( "CheckedItem" );
//menuItem.Checked?
Is there a way to do this?
You need to cast to
ToolStripMenuItem
: