Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

XafApplication.GetTemplateCustomizationModel(IFrameTemplate) Method

Returns the Application Model node where settings of a specified Template are stored.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v19.2.dll

Declaration

public virtual IModelTemplate GetTemplateCustomizationModel(
    IFrameTemplate template
)

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 applications, because end-user customizations are saved in Windows Forms applications only.

See Also