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

Window in window z index

1 Answer 15 Views
Window
This is a migrated thread and some comments may be shown as answers.
Jonam
Top achievements
Rank 1
Jonam asked on 24 Aug 2012, 08:24 AM
hello,

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,

Jonam

1 Answer, 1 is accepted

Sort by
0
Miroslav Nedyalkov
Telerik team
answered on 28 Aug 2012, 08:51 AM
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.

Tags
Window
Asked by
Jonam
Top achievements
Rank 1
Answers by
Miroslav Nedyalkov
Telerik team
Share this question
or