--- title: "MenuStrip Control Overview" ms.date: "03/30/2017" f1_keywords: - "MenuStrip" helpviewer_keywords: - "MenuStrip control [Windows Forms], about MenuStrip control" - "menus [Windows Forms], creating" ms.assetid: f45516e5-bf01-4468-b851-d45f4c33c055 --- # MenuStrip Control Overview (Windows Forms) Menus expose functionality to your users by holding commands that are grouped by a common theme. The control was introduced in version 2.0 of the .NET Framework. With the control, you can easily create menus like those found in Microsoft Office. The control supports the multiple-document interface (MDI) and menu merging, tool tips, and overflow. You can enhance the usability and readability of your menus by adding access keys, shortcut keys, check marks, images, and separator bars. The control replaces and adds functionality to the control; however, the control is retained for backward compatibility and future use if you choose. ## Ways to Use the MenuStrip Control Use the control to: - Create easily customized, commonly employed menus that support advanced user interface and layout features, such as text and image ordering and alignment, drag-and-drop operations, MDI, overflow, and alternate modes of accessing menu commands. - Support the typical appearance and behavior of the operating system. - Handle events consistently for all containers and contained items, in the same way you handle events for other controls. The following table shows some particularly important properties of and associated classes. |Property|Description| |--------------|-----------------| ||Gets or sets the that is used to display a list of MDI child forms.| ||Gets or sets how child menus are merged with parent menus in MDI applications.| ||Gets or sets the position of a merged item within a menu in MDI applications.| ||Gets or sets a value indicating whether the form is a container for MDI child forms.| ||Gets or sets a value indicating whether tool tips are shown for the .| ||Gets or sets a value indicating whether the supports overflow functionality.| ||Gets or sets the shortcut keys associated with the .| ||Gets or sets a value indicating whether the shortcut keys that are associated with the are displayed next to the .| The following table shows the important companion classes. |Class|Description| |-----------|-----------------| ||Represents a selectable option displayed on a or .| ||Represents a shortcut menu.| ||Represents a control that allows the user to select a single item from a list that is displayed when the user clicks a or a higher-level menu item.| ||Provides basic functionality for controls derived from that display drop-down items when clicked.| ## See also - - - - - -