I am working on my first windows 8 application using the devexpress grid app template provided in the New Wizard. Everything is working out fine but however, I would like to bind the MenuItems to specific pages instead of using the ItemsDetailPage for all my menuitems. I have managed to figure out that I need to change the following to the page I want to use:
...ItemNavigationTargetType="ItemsDetailPage" to ...ItemNavigationTargetType="MyPage"
This works fine. I have created another parameter for my menu item which is a "string TargetType". This I use to specify the page the menu item should open. Then I would like to bind this property to the above code to look like the following:
But this will not work. Is there another way I can do this. Please assist?
Use the DXGridView.ItemNavigationTargetTypeBinding property to accomplish this task. Please also take a look at the following link for more details: StackOverflow: DevExpress Grid App (DXTREME) - How to bind to the ItemNavigationTargetType?.
Is your intention to post an answer to your own question?
- If so, then proceed.
- If you simply wanted to post additional information, ask for further clarification, or to just say "Thanks!", please click Leave a Comment.
- If you wish to edit your original question, please use the Edit button in the Toolbox at the top right corner of that entry.