Windows menu to displaying list of all open windows

2 posts, 0 answers
  1. Bharat Mendapara
    Bharat Mendapara avatar
    18 posts
    Member since:
    Sep 2013

    Posted 29 Sep 2014 Link to this post

    Hi,

    I want to display list of all open windows in "Windows" RadMenu  at dynamically  and if I close any window then it should be removed from the "Windows" menu.
    And I also want, menu should be check which window is top most.

    Any help will be much more appreciated.

    Regards,
    Bharat Mendapara
  2. Kalin
    Admin
    Kalin avatar
    1207 posts

    Posted 01 Oct 2014 Link to this post

    Hello Bharat,

    In order to achieve the desired you would need to manually manage a collection containing the the Headers and IsTopmost properties of all opened Windows. Whenever a new Window is opened you have to add it to the collection and whenever the Window is closed to removed from there. For mode details regarding data binding of RadMenu you can check the following article from our online help documentation:
    http://www.telerik.com/help/wpf/radmenu-populating-with-data-binding-to-dynamic-data.html

    For your convenience I have prepared a project demonstrating a sample solution of the desired.

    Hope this helps.

    Regards,
    Kalin
    Telerik
     
    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
     
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top