Skip to main content

AccordionBuilder.ItemTitleTemplate(String) Method

Specifies the client-side itemTitleTemplate.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public AccordionBuilder ItemTitleTemplate(
    string templateContent
)

Parameters

Name Type Description
templateContent String

A string that contains the template.

Returns

Type Description
AccordionBuilder

A reference to this instance after the method is called.

Remarks

This method allows you to specify a short template for an item title. Refer to the Templates article for more information and code examples.

@(Html.DevExtreme().Accordion()
    .ItemTitleTemplate("Template content")
)
See Also