Back to Devexpress

Frame.TemplateChanged Event

expressappframework-devexpress-dot-expressapp-dot-frame-26722693.md

latest2.1 KB
Original Source

Frame.TemplateChanged Event

Occurs after setting a Template for a Frame.

Namespace : DevExpress.ExpressApp

Assembly : DevExpress.ExpressApp.v25.2.dll

NuGet Package : DevExpress.ExpressApp

Declaration

csharp
public event EventHandler TemplateChanged
vb
Public Event TemplateChanged As EventHandler

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.

See Also

SetTemplate(IFrameTemplate)

TemplateChanging

Frame Class

Frame Members

DevExpress.ExpressApp Namespace