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

Frame.TemplateChanged Event

Occurs after setting a Template for a Frame.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v20.2.dll

NuGet Package: DevExpress.ExpressApp

Declaration

public event EventHandler TemplateChanged

Event Data

The TemplateChanged event's data class is EventArgs.

Remarks

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.

Note

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