Click here to Skip to main content
12,064,291 members (57,881 online)
Click here to Skip to main content
Add your own
alternative version

Tagged as

Stats

41.3K views
5 bookmarked
Posted

WPF: Center Child Window

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

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

No alternatives have been posted.

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

| | Privacy | Terms of Use | Mobile
Web02 | 2.8.160204.4 | Last Updated 15 Jun 2009
Article Copyright 2009 by mastermel
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid