The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.


A Menu is a control that allows hierarchical organization of elements associated with commands or event handlers. Each Menu can contain multiple MenuItem controls. Each MenuItem can invoke a command or invoke a Click event handler. A MenuItem can also have multiple MenuItem elements as children, forming a submenu.

The following illustration shows the three different states of a menu control. The default state is when no device such as a mouse pointer is resting on the Menu. The focus state occurs when the mouse pointer is hovering over the Menu and pressed state occurs when a mouse button is clicked over the Menu.

Menus in different states

Menu states
© 2014 Microsoft