views:

735

answers:

3

We have a XBAP application which has the following code in a Page:

Person newPerson = new Person();
PersonWindow personWindow = new PersonWindow(newPerson);            
personWindow.ShowDialog();

Now this code is invoked from a XBAP page, the resultant window does not behave like Modal window, is there any way to achieve this without significant amount of changes?

A: 

Hi,

Have a look here might be some help

http://www.julmar.com/blog/mark/PermaLink,guid,725cf1d9-3dc7-48f1-89f0-da8e3f3cfccb.aspx

HTH

Regards

@nand

Anand
I have tried this, the problem with this approach is it gets too complicated to achieve all window like behaviour
Ngm
A: 

Well the fact remains that it is very difficult to achieve this behavior. link

Ngm
Your link doesn't work :(
Yacoder
A: 

It seems, that you have to implement the "modality" on your own, by disabling all the other window controls. Here goes the discussion of that

Yacoder