Gets or sets a value indicating whether the MenuItem, if checked, displays a radio-button instead of a check mark.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
The following code example uses the Checked property to change the state of an application. In the example, a group of menu items are provided that are used to specify the color for the text in an TextBox control. In the example, the event handler provided is used by the Click event of the three menu items. Each menu item specifies a color, menuItemRed, menuItemGreen, or menuItemBlue. The event handler determines which menu item was clicked, places a checkmark to the selected menu item, and changes the text color of the form's TextBox control, named textBox1. The example also uses the property to demonstrate how a radio-button check is used to show menu items that are mutually exclusive. This example requires that the System.Drawing namespace has been added to the form that contains this code.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.