The requested page is not available for the requested platform. You are viewing the content for Default platform.

XafApplication.GetTemplateCustomizationModel(IFrameTemplate) Method

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

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v19.1.dll

Declaration

public virtual IModelTemplate GetTemplateCustomizationModel(
    IFrameTemplate template
)
Public Overridable Function GetTemplateCustomizationModel(
    template As IFrameTemplate
) As IModelTemplate

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