Reputation: 17
I use using the DevExpress 17.2 component, how can I save the theme for the entire application? I use RibbonForm, I would like to save the settings of the selected theme in Properties.Settings. And in the subsequent opening of the application remains the same topic as the user chose ...
Upvotes: 0
Views: 502
Reputation: 421
You can save the current skin name to the Application Settings as described in the Using Application Settings and User Settings Microsoft document. To access this skin name, use the DevExpress.LookAndFeel.UserLookAndFeel.Default.SkinName property. When your app is loaded, read the save skin name from the app settings and assign it to the mentioned static property.
Upvotes: 3