Skip to main content
.NET 8.0+

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

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

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

See Also