SchedulerViewBuilder.DropDownAppointmentTemplate(TemplateName) Method

OBSOLETE

This Method is obsolete now.

Specifies the client-side dropDownAppointmentTemplate.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

[Obsolete("")]
public SchedulerViewBuilder DropDownAppointmentTemplate(
    TemplateName name
)

Parameters

Name Type Description
name TemplateName

A template name.

Returns

Type Description
SchedulerViewBuilder

A reference to this instance after the method is called.

Remarks

This method applies an external template to a drop-down appointment. Refer to External Templates for more information and code examples.

@(Html.DevExtreme().Scheduler()
    .Views(views => {
        views.Add().DropDownAppointmentTemplate(new TemplateName("mySchedulerView_dropDownAppointmentTemplate"));
    })
)

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