Skip to main content
ID
Max
Min

SchedulerBuilder.AppointmentTooltipTemplate(TemplateName) Method

Specifies the client-side appointmentTooltipTemplate.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public SchedulerBuilder AppointmentTooltipTemplate(
    TemplateName name
)

Parameters

Name Type Description
name TemplateName

A template name.

Returns

Type Description
SchedulerBuilder

A reference to this instance after the method is called.

Remarks

This method applies an external template to an appointment tooltip. Refer to External Templates for more information and code examples.

@(Html.DevExtreme().Scheduler()
    .AppointmentTooltipTemplate(new TemplateName("myScheduler_appointmentTooltipTemplate"))
)

@using(Html.DevExtreme().NamedTemplate("myScheduler_appointmentTooltipTemplate")) {
    <div>
        Template content
    </div>
}
See Also