Windows menu to displaying list of all open windows

4 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
    1352 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. Alex
    Alex avatar
    4 posts
    Member since:
    Jul 2017

    Posted 15 Jan 2018 Link to this post

    Hi Kalin,

    When i run you samples i am getting the windows like this . Recently i have updated my Telerik. Can you please let me know how to solve this problem.Please find the attachment. 

  4. Kalin
    Admin
    Kalin avatar
    1352 posts

    Posted 18 Jan 2018 Link to this post

    Hi Alex,

    I checked the project with the latest version and behaves as expected. Can you share more details of the behavior you are observing and the exact problem? If you can share a video that would be really helpful.

    I'm looking forward to hearing from you.

    Regards,
    Kalin
    Progress Telerik
    Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
Back to Top