Click here to Skip to main content
13,353,322 members (58,008 online)
Click here to Skip to main content
Add your own
alternative version

Stats

49K views
6 bookmarked
Posted 15 Jun 2009

WPF: Center Child Window

, 15 Jun 2009
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
Web03 | 2.8.180111.1 | Last Updated 15 Jun 2009
Article Copyright 2009 by mastermel
Everything else Copyright © CodeProject, 1999-2018
Layout: fixed | fluid