Frame.SetTemplate(IFrameTemplate) Method
Namespace: DevExpress.ExpressApp
Assembly: DevExpress.ExpressApp.v24.2.dll
NuGet Package: DevExpress.ExpressApp
#Declaration
public void SetTemplate(
IFrameTemplate val
)
#Parameters
Name | Type | Description |
---|---|---|
val | IFrame |
An object that implements the IFrame |
#Remarks
Use this method to set a Template specified by the template parameter for the current Frame. After setting the Template, the Frame.TemplateChanged event is raised. Handle this event to customize the Template that has been set for the current Frame.
If the current Frame contains a View, the SetTemplate method sets this View for the new Template.
Note
To set your own Template, it is recommended that you handle the Xaf