This is a migrated thread and some comments may be shown as answers.

Windows menu to displaying list of all open windows

3 Answers 166 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Bharat Mendapara
Top achievements
Rank 1
Bharat Mendapara asked on 29 Sep 2014, 12:28 PM
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

3 Answers, 1 is accepted

Sort by
0
Kalin
Telerik team
answered on 01 Oct 2014, 12:10 PM
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.
 
0
Alex
Top achievements
Rank 1
answered on 15 Jan 2018, 05:17 PM

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. 

0
Kalin
Telerik team
answered on 18 Jan 2018, 02:22 PM
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.
Tags
Menu
Asked by
Bharat Mendapara
Top achievements
Rank 1
Answers by
Kalin
Telerik team
Alex
Top achievements
Rank 1
Share this question
or