Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

ToolStripMenuItem.CheckOnClick Property

Definition

Namespace:
System.Windows.Forms
Assembly:
System.Windows.Forms.dll
Source:
ToolStripMenuItem.cs
Source:
ToolStripMenuItem.cs
Source:
ToolStripMenuItem.cs
Source:
ToolStripMenuItem.cs
Source:
ToolStripMenuItem.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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


Feedback

Was this page helpful?