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:
Andy De George
2020-09-04 09:46:28 -07:00
committed by GitHub
parent dba50d6bf1
commit da363692ff
8215 changed files with 508408 additions and 11 deletions
@@ -0,0 +1,26 @@
---
title: "ContextMenu"
ms.date: "03/30/2017"
f1_keywords:
- "AutoGeneratedOrientationPage"
helpviewer_keywords:
- "ContextMenu control [WPF]"
- "menus [WPF], context"
- "controls [WPF], ContextMenu"
ms.assetid: 2f40b2bb-b702-4706-9fc4-10bcfd7cc35d
---
# ContextMenu
The <xref:System.Windows.Controls.ContextMenu> allows a control to display a <xref:System.Windows.Controls.Menu> that is specific to the context of the control. Typically, the <xref:System.Windows.Controls.ContextMenu> is exposed in the [!INCLUDE[TLA#tla_ui](../../../includes/tlasharptla-ui-md.md)] through the right mouse button or through the keyboards menu button.
The following figure illustrates a <xref:System.Windows.Controls.ContextMenu> in two different states: the default state and the open state. In the default state, the control is collapsed. When the right mouse button is pressed over the parent of the menu, the control expands and displays the menu items.
![ContextMenu states](./media/ss-ctl-contextmenu.png "SS_CTL_contextmenu")
ContextMenu in different states
## In This Section
[ContextMenu Overview](contextmenu-overview.md)
## Reference
<xref:System.Windows.Controls.ContextMenu>
## Related Sections