SchedulerBuilder.AppointmentCollectorTemplate(TemplateName) Method
In This Article
Specifies the client-side appointmentCollectorTemplate.
Namespace: DevExtreme.AspNet.Mvc.Builders
Assembly: DevExtreme.AspNet.Core.dll
#Declaration
C#
public SchedulerBuilder AppointmentCollectorTemplate(
TemplateName name
)
#Parameters
Name | Type | Description |
---|---|---|
name | Template |
A template name. |
#Returns
Type | Description |
---|---|
Scheduler |
A reference to this instance after the method is called. |
#Remarks
This method applies an external template to an appointment collector. Refer to External Templates for more information and code examples.
@(Html.DevExtreme().Scheduler()
.AppointmentCollectorTemplate(new TemplateName("myScheduler_appointmentCollectorTemplate"))
)
@using(Html.DevExtreme().NamedTemplate("myScheduler_appointmentCollectorTemplate")) {
<div>
Template content
</div>
}
See Also