Gets or sets a value that indicates whether the submenu of the MenuItem is open.
Namespace:System.Windows.Controls Assembly:PresentationFramework (in PresentationFramework.dll) XMLNS for XAML: http://schemas.microsoft.com/winfx/2006/xaml/presentation, http://schemas.microsoft.com/netfx/2007/xaml/presentation
The following example shows how to open a submenu of a MenuItem. In this example, the MenuItem called fileMenu contains a MenuItem called recentFiles that has a submenu. When fileMenu is opened, the SubmenuOpened event is raised and the FileMenu_Opened event handler opens the submenu of recentFiles.
Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)