Silverlight Persistence Framework

Watch the Silverlight Persistence Framework video and learn how to save your settings for any control. (Duration: 3:40)

Persist control settings from any Silverlight dependency object (including non-Infragistics controls) using Infragistics' Control Persistence Framework to manage saving and loading of those settings you want persisted to any external source like a file or a database. This framework makes it very easy for you to give your users the ability to save off their preferences and the layout of your application's user interface down to detailed settings such as which grid columns are fixed, and then re-load that same layout when they come back again.

Infragistics' Control Persistence Framework knows absolutely nothing about the details of the controls it is persisting – it will work with any control (and dependency object). It doesn't need to know a control is a grid, with fixed columns – it only needs to know that you want the fixed columns setting of a control that is a grid persisted. Once you define your controls’ persistence settings, and handle any optional events the framework offers that let you inject your own settings, you have yourself persistent settings that can be saved and loaded quickly and easily.

 

Key Features at a Glance

  • Streams of XML – Control settings are serialized and deserialized to industry-standard XML, and made available to you with Streams that you can direct to any external source like IsolatedStorage, a database, or the local file system.
  • Save and Load User Preferences – When the user has setup the user interface in a way they like, the Control Persistence Framework can be used to preserve the end users preferred layout and settings, and then load them again at a later point.
  • Easily Restore Defaults – Need a way to instantly re-apply default settings to your control(s)? Using the Control Persistence Framework to restore default settings is a great solution.
  • Tap Into Persistence Events – Numerous events exposed by the framework give you the opportunity to fine-tune and control the saving and loading of persistent control settings.