Window in window z index

2 posts, 0 answers
  1. Jonam
    Jonam avatar
    19 posts
    Member since:
    Aug 2010

    Posted 24 Aug 2012 Link to this post


    i have a radWindow called A. From this window i want to open a second window named B that is placed on top of A. But when i show B it is placed behind window A.

    is there any way to manage the Z index of these windows.

    kind regards,

  2. Miroslav Nedyalkov
    Miroslav Nedyalkov avatar
    1718 posts

    Posted 28 Aug 2012 Link to this post

    Hi Jonam,

    To bring a RadWindow to the front just call its BringToFront method and will automatically bring itself to the front. The newly opened windows should open in front of the old ones by default except if you open them on MouseDown event, because they call their BringToFront method when MouseDown event is fired inside them to ensure the last clicked window is the topmost one. To ensure this behavior is not observed, just open the new RadWindow asynchronously using Dispatcher.BeginInvoke or use a different event for handling mouse clicks.

    Hope this helps.

    All the best,
    Miroslav Nedyalkov
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. DevCraft R3 2016 release webinar banner
Back to Top