RibbonSettings.SetFileTabTemplateContent(Action<TemplateContainerBase>) Method
Allows you to specify a template used for displaying the content of the file tab.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.1.dll
NuGet Package: DevExpress.Web.Mvc5
Declaration
Parameters
Name | Type | Description |
---|---|---|
contentMethod | Action<TemplateContainerBase> | A method to which a template content rendering is delegated. |
Remarks
Use the SetFileTabTemplateContent property to define the content of the file tab. The template created using this property replaces the file tab’s content - in particular, the image and text associated with the tab.
Note
Once a template defined using the SetFileTabTemplateContent method is created, it is instantiated within a container object of the TemplateContainerBase type. This container object exposes a set of members which can be useful when designing a template.