Hi.. i have one application with two windows as mainwindow.xaml and another window as window1.xaml.I have placed a button in mainwindow and in that click event i have written code tomake blur effct of mainwindow. Unfortunately window1 is not coming but another infragistics page is coming.how to avoid it.How can i place our own window in click event making parent window as blur.Plz sending me a sample regarding this.... i am sending a sample in which i have done....
Hello,
You are right about the mechanism of making modal dialogs.
Thanks a lot... its working.So if any window to show dialog simply i should call object of that window and setting opacity. Correct?
Thank you for your post. I have been looking into it and I modified the sample you sent so now it has the functionality you want. Basically I called the Window1’s ShowDialog method, which makes it modal. Also I change the opacity to the MainWindow, so it blurs. Please let me know if this helps you or you need further assistance on this matter.
Looking forward for your reply.