Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Bringing window forward (Read 1250 times)
monkeydll
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 41
Joined: Jun 27th, 2016
Bringing window forward
Jul 25th, 2016 at 4:23pm
Print Post  
Hello!

How can i bring my window on top of other windows when I double click on a already active window from my treeView.
The window is part of a windowHost, and WindowHost is part of a userControl.
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3148
Joined: Oct 19th, 2005
Re: Bringing window forward
Reply #1 - Jul 26th, 2016 at 6:29am
Print Post  
Hi,

Call the Window.Focus() method, it's what windows call themselves when clicked. You could also rearrange windows by setting their Canvas.ZIndex attached property, which Focus does internally along with setting IsActive.

Regards,
Slavcho
Mindfusion
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint