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.
XAML Copy Code <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.
XAML Copy Code <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>