Click here to Skip to main content
11,639,126 members (67,756 online)
Click here to Skip to main content
Add your own
alternative version

WPF: Center Child Window

, 15 Jun 2009 CPOL 38.5K 5
Here's a method I've found for centering a window to either its parent or the main window for the application, in WPF.

Views

Downloads

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

mastermel
United States United States
No Biography provided

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web03 | 2.8.150728.1 | Last Updated 15 Jun 2009
Article Copyright 2009 by mastermel
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid