[]
Using Menu for WPF, you can create a menu with submenu and context menu. The following sections will guide you through the steps to create a complete menu.
<c1:C1MenuItem Header="MenuItem1" Height="Auto" Width="Auto"/>
<c1:C1MenuItem Header="MenuItem2" Height="Auto" Width="Auto"/>
<c1:C1MenuItem Header="MenuItem3" Height="Auto" Width="Auto"/>
In this topic, you will create a submenu that's attached to one of a menu's items. This topic assumes that you have created a top-level menu with at least one menu item.
<c1:C1MenuItem Header="Click here" Height="Auto" Width="Auto">
<c1:C1MenuItem Header="Submenu Item" Height="Auto" Width="Auto"/>
<c1:C1MenuItem Header="Submenu Item" Height="Auto" Width="Auto"/>
<c1:C1MenuItem Header="Submenu Item" Height="Auto" Width="Auto"/>
</c1:C1MenuItem>
Add Height="Auto" and Width="Auto" to the <c1:C1Menu> tag.
Run the program and click the Click here menu item. Observe that a submenu with three items appears.