System.Windows.Forms.MenuItem.Checked Property

Gets or sets a value indicating whether a check mark appears next to the text of the menu item.

Syntax

[System.ComponentModel.DefaultValue(false)]
public bool Checked { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

You can use the MenuItem.Checked property in combination with other menu items in a menu to provide state for an application. For example, you can place a check mark on a menu item in a group of items to identify the size of the font to be displayed for the text in an application. You can also use the MenuItem.Checked property to identify the selected menu item in a group of mutually exclusive menu items.

Note:

This property cannot be set to true for top-level menu items.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0