DCSIMG
June 2007 - Posts - Essential WPF

June 2007 - Posts

33
Comments

WPF Control State Persistency by Tomer Shamam

One of my customers asked me if WPF provides an option for storing or serializing controls state. For example, having a ListView, is it possible to store the width of its columns after closing and opening the Window, or maybe after restarting the application? I was thinking to myself, sure, you should use Data Binding. All you have to do is to bind the width or height, of any element to a back storage. For example you can create a State class for storing the data, and then you should bind it to your...
Powered by Community Server (Commercial Edition), by Telligent Systems