Current filter:
                                You should refresh the page.
                                Support Center
                                  • Hi,

                                    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:

                                    ...ItemNavigationTargetType="{Binding TargetType}"

                                    But this will not work. Is there another way I can do this. Please assist?

                                1 Solution

                                Creation Date Rating Importance Sort by

                                Hi Donald,

                                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?.

                                If you need additional product information, write to us at or call us at +1 (818) 844-3383

                                FOLLOW US

                                DevExpress engineers feature-complete Presentation Controls, IDE Productivity Tools, Business Application Frameworks, and Reporting Systems for Visual Studio, along with high-performance HTML JS Mobile Frameworks for developers targeting iOS, Android and Windows Phone. Whether using WPF, ASP.NET, WinForms, HTML5 or Windows 10, DevExpress tools help you build and deliver your best in the shortest time possible.

                                Copyright © 1998-2017 Developer Express Inc.
                                All trademarks or registered trademarks are property of their respective owners