.NET Core 3.0+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

Frame.TemplateChanged Event

Occurs after setting a Template for a Frame.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v20.2.dll


public event EventHandler TemplateChanged
Public Event TemplateChanged As EventHandler

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.

See Also