CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Search box to quickly navigate to menus in WPF application

  1. #1
    Join Date
    Sep 2005
    Posts
    1

    Search box to quickly navigate to menus in WPF application

    Hi,

    We have a huge WPF application developed for many years, which has lot of menus like menu buttons, ribbon menu buttons, toggle menu buttons, contextual ribbon menus etc. Since there are lot of menus, providing search box on the top to quickly navigate to the menus/settings will benefit the users lot. I am expecting something similar to Search Box ( ctrl + Q ) in the top menu area of Visual studio or any other better solution. I have been thinking a manual solution that go over all the xaml files during application launch and parse, collect all menu text and its action etc, so this collection will be searched and action will be invoked something like that , but is there any framework / API readily available or any other solution solution to implement this functionality ?


    Thanks
    Ravi.

  2. #2
    Arjay's Avatar
    Arjay is offline Moderator / EX MS MVP Power Poster
    Join Date
    Aug 2004
    Posts
    13,372

    Re: Search box to quickly navigate to menus in WPF application

    Unless your app dynamically is loading xaml files at runtime, wpf apps usually don't have xaml files around after the app has been compiled.

    However, if you app has xaml files after compilation, your approach of parsing them seems reasonable.

    Another approach is retrieve this info by walking the component model.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)