Version

IPersistComponentSettings

This is a new interface in Visual Studio 2005 (.NET Framework 2.0), which is used to automatically serialize and deserialize a user’s settings. When the SaveSettings property is set to True, the designer writes a line of code to call the object’s LoadComponentSettings method at the end of the InitializeComponent code. When the component is disposed, it invokes its SaveComponentSettings which internally calls save on the component’s ApplicationSettings instance. The implementation for actually saving the information is handled by the .NET Framework (specifically by the ApplicationSettings class). This is currently implemented in all components/controls that support saving layout information to a stream including UltraPrintDocument, UltraDockManager, UltraExplorerBar, UltraCalendarInfo, UltraCalendarLook, UltraTabbedMdiManager, UltraToolbarsManager and UltraTree.