RadWindow and BringIntoView

2 posts, 1 answers
  1. Patrick
    Patrick avatar
    372 posts
    Member since:
    Aug 2012

    Posted 14 Feb 2014 Link to this post

    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

  2. Answer
    Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 18 Feb 2014 Link to this post

    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
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top