Skip to main content
.NET Framework 4.5.2+

Frame.TemplateChanged Event

Occurs after setting a Template for a Frame.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v22.1.dll


public event EventHandler TemplateChanged

Event Data

The TemplateChanged event's data class is EventArgs.


Handle the TemplateChanged event to customize the current Frame‘s Frame.Template. For details on Tempates customization, refer to the Template Customization topic.

To make the application load a custom, rather than a default Template, handle the XafApplication.CreateCustomTemplate event. If you need to customize a Template and apply your customization each time the Template is displayed, handle the XafApplication.CustomizeTemplate event.

The following code snippets (auto-collected from DevExpress Examples) contain references to the TemplateChanged event.


The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also