ToolStripMenuItem.CheckOnClick Property

Definition

Gets or sets a value indicating whether the ToolStripMenuItem should automatically appear checked and unchecked when clicked.

public:
 property bool CheckOnClick { bool get(); void set(bool value); };
public bool CheckOnClick { get; set; }
member this.CheckOnClick : bool with get, set
Public Property CheckOnClick As Boolean

Property Value

true if the ToolStripMenuItem should automatically appear checked when clicked; otherwise, false. The default is false.

Applies to