mirror of
https://github.com/Stone-Red-Code/docs-desktop.git
synced 2026-09-06 16:06:07 +02:00
Initial WPF content migrated (#17)
* Reset branch for WPF changes * Convert BMP to PNG; fix link-out-of-scope err * Add snippets for WPF... 6794 files!!!! * Add missing snippets * update file updated between migration * Fix paths to include * update breadcrumb and toc * fix index links * fix index links * fix index links * fix markdown
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
---
|
||||
title: "Menu"
|
||||
ms.date: "03/30/2017"
|
||||
f1_keywords:
|
||||
- "AutoGeneratedOrientationPage"
|
||||
helpviewer_keywords:
|
||||
- "Menu control [WPF]"
|
||||
- "controls [WPF], Menu"
|
||||
ms.assetid: 4317fb80-408c-47c7-9223-b29e4742c4ee
|
||||
---
|
||||
# Menu
|
||||
A <xref:System.Windows.Controls.Menu> is a control that allows hierarchical organization of elements associated with commands or event handlers. Each <xref:System.Windows.Controls.Menu> can contain multiple <xref:System.Windows.Controls.MenuItem> controls. Each <xref:System.Windows.Controls.MenuItem> can invoke a command or invoke a `Click` event handler. A <xref:System.Windows.Controls.MenuItem> can also have multiple <xref:System.Windows.Controls.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 <xref:System.Windows.Controls.Menu>. The focus state occurs when the mouse pointer is hovering over the <xref:System.Windows.Controls.Menu> and pressed state occurs when a mouse button is clicked over the <xref:System.Windows.Controls.Menu>.
|
||||
|
||||

|
||||
Menus in different states
|
||||
|
||||
## In This Section
|
||||
[Menu Overview](menu-overview.md)
|
||||
|
||||
## Reference
|
||||
<xref:System.Windows.Controls.Menu>
|
||||
<xref:System.Windows.Controls.MenuItem>
|
||||
<xref:System.Windows.Controls.Primitives.MenuBase>
|
||||
<xref:System.Windows.Controls.ContextMenu>
|
||||
|
||||
## Related Sections
|
||||
Reference in New Issue
Block a user