The Windows Forms Application Settings feature allows you to create, store, and maintain user preferences on client computers. You can use this feature to save the active skin and palette and restore these settings when your application restarts.
- Double-click the Settings.settings file in the Visual Studio Solution Explorer.
- Create two entries of the
String
type. - Set the scope of both entries to "User".
- When your application is about to close, save values of
UserLookAndFeel.Default.SkinName
andUserLookAndFeel.Default.ActiveSvgPaletteName
properties to Application Settings. - When your application starts, read saved settings and pass them to the
UserLookAndFeel.SetSkinStyle
method as parameters.
- Form1.cs (VB: Form1.vb)
- Program.cs (VB: Program.vb)
- SVG Skins and Palettes – FAQ
- DevExpress WinForms Cheat Sheet - Appearances and Skins
- Application Settings Overview
(you will be redirected to DevExpress.com to submit your response)