This documentation is archived and is not being maintained.

MenuCommand.Checked Property

Gets or sets a value indicating whether this menu item is checked.

[Visual Basic]
Public Overridable Property Checked As Boolean
public virtual bool Checked {get; set;}
public: __property virtual bool get_Checked();
public: __property virtual void set_Checked(bool);
public function get Checked() : Boolean;
public function set Checked(Boolean);

Property Value

true if the item is checked; otherwise, false.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

MenuCommand Class | MenuCommand Members | System.ComponentModel.Design Namespace