Files
docs-desktop/dotnet-desktop-guide/framework/winforms/controls/contextmenustrip-control.md
T
Andy De George c0ba284473 Initial winforms content migrated (#18)
* Merge winforms framework content to working branch (#14)

* Breadcrumb / TOC / Move net5 to net folder (#15)

* change path from net5 to net

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Add .net 5 winforms placeholder article (#16)

* added some metadata and adjusted net5 placeholder

* corrections

* corrections

* corrections

* Test1

* Swapping landing page vs concept

* fix links

* Fix links

* Fix desc
2020-09-01 16:26:21 -07:00

2.8 KiB

title, ms.date, helpviewer_keywords, ms.assetid
title ms.date helpviewer_keywords ms.assetid
ContextMenuStrip Control 03/30/2017
context menus
ContextMenuStrip control [Windows Forms]
shortcut menus
76e070b2-65d7-457f-8300-d104e4e01e5e

ContextMenuStrip Control

The xref:System.Windows.Forms.ContextMenuStrip control provides a shortcut menu that you associate with a control.

In This Section

ContextMenuStrip Control Overview
Explains what the control is and its key features and properties.

How to: Associate a ContextMenuStrip with a Control
Describes making a xref:System.Windows.Forms.ContextMenuStrip the shortcut menu for a specific control.

How to: Add Menu Items to a ContextMenuStrip
Describes how to add selectable options to a xref:System.Windows.Forms.ContextMenuStrip.

How to: Configure ContextMenuStrip Check Margins and Image Margins
Describes how to customize a xref:System.Windows.Forms.ContextMenuStrip by setting check and image margin properties in various ways.

How to: Enable Check Margins and Image Margins in ContextMenuStrip Controls
Describes how to turn xref:System.Windows.Forms.ContextMenuStrip check margins on and off.

How to: Handle the ContextMenuStrip Opening Event
Describes how to customize the behavior of a xref:System.Windows.Forms.ContextMenuStrip control by handling the xref:System.Windows.Forms.ToolStripDropDown.Opening event.

Also see ContextMenuStrip Tasks Dialog Box or ContextMenuStrip Items Collection Editor.

Reference

xref:System.Windows.Forms.MenuStrip
Describes the features of the xref:System.Windows.Forms.MenuStrip class, which provides a menu system for a form.

xref:System.Windows.Forms.ContextMenuStrip
Describes the features of the xref:System.Windows.Forms.ContextMenuStrip, which represents a shortcut menu.

xref:System.Windows.Forms.ToolStripMenuItem
Describes the features of the xref:System.Windows.Forms.ToolStripMenuItem class, which represents a selectable option displayed on a xref:System.Windows.Forms.MenuStrip or xref:System.Windows.Forms.ContextMenuStrip.

Controls to Use on Windows Forms
Provides a complete list of Windows Forms controls, with links to information on their use.