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

RadWindow and BringIntoView

1 Answer 118 Views
Window
This is a migrated thread and some comments may be shown as answers.
Patrick
Top achievements
Rank 2
Iron
Iron
Iron
Patrick asked on 14 Feb 2014, 09:12 AM

Hello,
I have an application with the following properties:

  • The application can have multiple main windows.
  • Each main window contains a RadRibbonView and so inherites from RadRibbonWindow.
  • In addition, I need to create another main window that doesn't contain a RadRibbonView, and so I used a RadWindow to implement it.

I can create this new window, show it in the taskbar and interact with it.
The problem appears when the window is in background and the user clicks on the button to display it. Normally the window should be bring at the top of all windows. I have tried to call BringIntoView, but it doesn't work. In a standard WPF window, I can call Activate to do the job, but this method is not implemented in RadWindow.

How can I implement this feature?

Patrick

1 Answer, 1 is accepted

Sort by
0
Accepted
Konstantina
Telerik team
answered on 18 Feb 2014, 02:18 PM
Hi Partick,

The BringIntoView works for elements in a scrollable area. In order to bring the RadWindow in front, you could just focus it, it will make it active and show it above all.

Please give it a try and let us know if you have further questions.

Regards,
Konstantina
Telerik
Tags
Window
Asked by
Patrick
Top achievements
Rank 2
Iron
Iron
Iron
Answers by
Konstantina
Telerik team
Share this question
or