WPF - Set dialog window position relative to main window?

Posted by empo on Stack Overflow See other posts from Stack Overflow or by empo
Published on 2010-03-15T11:08:33Z Indexed on 2010/03/15 11:09 UTC
Read the original article Hit count: 318

Filed under:
|
|
|

I'm just creating my own AboutBox and I'm calling it using Window.ShowDialog()

How do I get it to position relative to the main window, i.e. 20px from the top and centered.

Thanks.

© Stack Overflow or respective owner

Related posts about wpf

Related posts about relative