Skip to main content
.NET Framework 4.6.2+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ISupportStoreSettings.SaveSettings() Method

In This Article

Saves a Template’s settings previously changed by an end-user to the child nodes of the Application Model‘s Templates node. These child nodes were previously specified by the ISupportStoreSettings.SetSettings method.

Namespace: DevExpress.ExpressApp.Templates

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

#Declaration

void SaveSettings()

#Remarks

Template customizations that have been made by an end-user must be saved to the Application Model’s Template node. For this purpose, the SaveSettings method is called when a Template is disposed of. The nested structure of this node must be specified by the ISupportStoreSettings.SetSettings method, which is invoked earlier - when creating a Template. The saved customizations are then applied to the Template by calling the ISupportStoreSettings.SetSettings method again.

Physically, the customizations are stored in the Model.User.xafml file. When a Template is created, the Template node customizations from this file are passed to the ISupportStoreSettings.SetSettings method, to be applied to the Template. So, if you remove this file, the Template node structure must be recreated by the ISupportStoreSettings.SetSettings method.

Note

UI customizations can only be saved in Windows Forms applications.

See Also