ToolStripDropDownMenu::ShowCheckMargin Property
.NET Framework (current version)
Gets or sets a value indicating whether space for a check mark is shown on the left edge of the ToolStripMenuItem.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Property Value
Type: System::Booleantrue if the check margin is shown; otherwise, false. The default is false.
Set the ShowCheckMargin property to true to display a check mark when the user chooses the ToolStripMenuItem.
The following code example demonstrates how to create and initialize a ContextMenuStrip control by setting the check and image margins. For a full code listing, see How to: Enable Check Margins and Image Margins in ContextMenuStrip Controls.
.NET Framework
Available since 2.0
Available since 2.0
Show: