how to disable WPF window.I have two WPF window(.xaml) .<br/> If user login information is correct it should disable login window and open another window....<br/> <br/> <br/> How can I  achieve IT <br/> <br/> Thanks <br/> Harshil© 2009 Microsoft Corporation. All rights reserved.Wed, 01 Jul 2009 17:25:10 Z6bae1e07-c7b8-4eb7-ac2f-c1ce4492ed0ehttp://social.expression.microsoft.com/Forums/en-US/blend/thread/6bae1e07-c7b8-4eb7-ac2f-c1ce4492ed0e#6bae1e07-c7b8-4eb7-ac2f-c1ce4492ed0ehttp://social.expression.microsoft.com/Forums/en-US/blend/thread/6bae1e07-c7b8-4eb7-ac2f-c1ce4492ed0e#6bae1e07-c7b8-4eb7-ac2f-c1ce4492ed0eHarshil Gandhihttp://social.expression.microsoft.com/Profile/en-US/?user=Harshil%20Gandhihow to disable WPF window.I have two WPF window(.xaml) .<br/> If user login information is correct it should disable login window and open another window....<br/> <br/> <br/> How can I  achieve IT <br/> <br/> Thanks <br/> HarshilFri, 26 Jun 2009 09:13:28 Z2009-06-26T09:14:05Zhttp://social.expression.microsoft.com/Forums/en-US/blend/thread/6bae1e07-c7b8-4eb7-ac2f-c1ce4492ed0e#ae4979bb-008c-45fa-8dc7-e8a43623eefahttp://social.expression.microsoft.com/Forums/en-US/blend/thread/6bae1e07-c7b8-4eb7-ac2f-c1ce4492ed0e#ae4979bb-008c-45fa-8dc7-e8a43623eefaStef S.http://social.expression.microsoft.com/Profile/en-US/?user=Stef%20S.how to disable WPF window.In the code behind of the button click (from the Login) you can check the credentials and if the user passes it, you simple can navigate to your second window or attach it to the root.Fri, 26 Jun 2009 11:21:34 Z2009-06-26T11:21:34Zhttp://social.expression.microsoft.com/Forums/en-US/blend/thread/6bae1e07-c7b8-4eb7-ac2f-c1ce4492ed0e#ba121010-c2e5-4ac8-b39b-95dab5b338bahttp://social.expression.microsoft.com/Forums/en-US/blend/thread/6bae1e07-c7b8-4eb7-ac2f-c1ce4492ed0e#ba121010-c2e5-4ac8-b39b-95dab5b338baDieterdphttp://social.expression.microsoft.com/Profile/en-US/?user=Dieterdphow to disable WPF window.do  you want to disable to login screen of hide, i would you a dialog screen and when the login/pass is correct close the dialog screen<br/> <br/> dieter<br/>Sun, 28 Jun 2009 09:27:59 Z2009-06-28T09:27:59Zhttp://social.expression.microsoft.com/Forums/en-US/blend/thread/6bae1e07-c7b8-4eb7-ac2f-c1ce4492ed0e#b7790e49-a179-4a80-bd00-b80e505f07achttp://social.expression.microsoft.com/Forums/en-US/blend/thread/6bae1e07-c7b8-4eb7-ac2f-c1ce4492ed0e#b7790e49-a179-4a80-bd00-b80e505f07acprasad22http://social.expression.microsoft.com/Profile/en-US/?user=prasad22how to disable WPF window.Hi,<br/> <br/> you can disable using the property   <strong>IsEnabled=false;</strong> <br/> <br/> if you do that then you will not have access to all the controls in that window, apart from that you will have access only to the standard minimize,maximize,resize buttons if available on top right corner of the title. which is non client area.<br/> <br/><hr class="sig">Prasad - www.beautifulmind.blog.co.in<br/> <b>Microsoft MVP</b> Wed, 01 Jul 2009 17:24:21 Z2009-07-01T17:24:21Z