Skip to main content

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.v24.1.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public void SetTabTextTemplateContent(
    Action<TabControlTemplateContainer> contentMethod
)

Parameters

Name Type Description
contentMethod Action<TabControlTemplateContainer>

A method to which a template content rendering is delegated.

Remarks

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

Note

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