Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

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 3-Aug-12 8:30 Available Jeremy Hutchinson
The article has been approved
6 No 3-Aug-12 7:27 Pending Jeremy Hutchinson
Changed the the call to LoadSettings() to Load() to match the included source.
5 No 7-Jan-10 9:28 Available Smitha Vijayan
4 No 7-Jan-10 11:24 Composing Jeremy Hutchinson
3 No 7-Jan-10 8:55 Composing Jeremy Hutchinson
2 No 7-Jan-10 8:46 Composing Jeremy Hutchinson
1 No 6-Jan-10 16: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 Winxnet
United States United States
No Biography provided
Follow on   Twitter   Google+   LinkedIn

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