Click here to Skip to main content
12,697,190 members (24,310 online)
Click here to Skip to main content

Tagged as


61 bookmarked

Save and Restore WPF Window Size, Position, and/or State

, 3 Aug 2012 CPOL
A quick example of how you can save the window size, position, and/or state, and restore your form to that size, position, and state the next time the app is launched.



Compare Revision Minor Date Status Editor
7 - publicly available Yes 2-Aug-12 22:30 Available Jeremy Hutchinson
The article has been approved
6 No 2-Aug-12 21:27 Pending Jeremy Hutchinson
Changed the the call to LoadSettings() to Load() to match the included source.
5 No 6-Jan-10 23:28 Available Smitha Nishant
4 No 7-Jan-10 1:24 Composing Jeremy Hutchinson
3 No 6-Jan-10 22:55 Composing Jeremy Hutchinson
2 No 6-Jan-10 22:46 Composing Jeremy Hutchinson
1 No 6-Jan-10 6:00 Composing Jeremy Hutchinson


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


About the Author

Jeremy Hutchinson
Software Developer
United States United States
I develop applications using Angular, ASP.Net MVC and SQL hosted on AWS by day, and in my free time I develop apps for Windows Phone and Windows 10 as well as web apps hosted in Azure. I always try to blog about what I've learned.

I also help run the Casco Bay .Net User Group

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.170118.1 | Last Updated 3 Aug 2012
Article Copyright 2010 by Jeremy Hutchinson
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid