TabControlSettings.SetTabTextTemplateContent(Action<TabControlTemplateContainer>) Method

Allows you to create a common template used to display the text content of all the tabs within the current TabControl.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v21.1.dll


public void SetTabTextTemplateContent(
    Action<TabControlTemplateContainer> contentMethod


Name Type Description
contentMethod Action<TabControlTemplateContainer>

A method to which a template content rendering is delegated.


The SetTabTextTemplateContent method defines a common text content for all the tabs within a TabControl.


Once a template defined using the SetTabTextTemplateContent method is created, it is instantiated within a container object of the TabControlTemplateContainer type. This container object exposes a set of members which can be useful when designing a template.

See Also