The component is added to a project in order to implement and define the navigation between different user interfaces and other functionality in an application. Each component represents one domain or tab on the ribbon.
Desirable number of MxNavigationMenu components can be created in a single MxSolution. The organization of menus in each component depends on the number of user interfaces and their content. Menus with similar content should be grouped together in the same component or domain.
Each component, created in a project, must be attached to a MxBootstrapper component in order to be visible in the application. To learn more about how to attach the component see chapter MxBootstrapper.
To create navigation domain with MxNavigationMenu component
- In Solution Explorer right click Navigation folder and choose Add -> New Item.
- In section My Templates select MxNavigationMenu template and enter the name of the navigation domain. Click Add.
- When navigation domain is created for the first time, window appears requesting the confirmation to create it. Click Trust.
- When the component opens, expand the first node in Domain Menu Explorer section.
- Select node Properties and define properties.*
- Rebuild the project.
*To learn more about individual property see chapter Designing a Navigation.
MxBootstrapper
Bootstrapper - MxBootstrapper
MxNavigationMenu
Designing a Navigation