In this document we are discussing about how to generate WPF menu dynamically in visual studio 2012.

Step 1: Create New Project.

web application

Step 2: Add Menu Control to The grid.

toolbox

Step 3: Include “System.Windows.Controls” in the project.

Step 4: Create Sub Menu