XafApplication.GetTemplateCustomizationModel(IFrameTemplate) Method
Returns the Application Model node where settings of a specified Template are stored.
Namespace: DevExpress.ExpressApp
Assembly: DevExpress.ExpressApp.v24.2.dll
NuGet Package: DevExpress.ExpressApp
Declaration
Parameters
Name | Type | Description |
---|---|---|
template | IFrameTemplate | An object that contains members of the IFrameTemplate interface. |
Returns
Type | Description |
---|---|
IModelTemplate | An IModelTemplate object that represents an Application Model node with a Template’s settings. |
Remarks
This method provides access to the Application Model node where the settings of the Template specified by the template parameter are stored. This node is used by the Template’s ISupportStoreSettings.SetSettings method, which creates child nodes to store Template customizations made by an end-user. The GetTemplateCustomizationModel method creates and returns a child node for the IModelTemplates node. You can create another node by overrding this method in your XafApplication descendant.
Note
This method is not used in ASP.NET Web Forms applications, because end-user customizations are saved in Windows Forms applications only.