Back to Devexpress

SchedulerBuilder<T>.MaxAppointmentsPerCell(MaxAppointmentsPerCell) Method

aspnetcore-devextreme-dot-aspnet-dot-mvc-dot-builders-dot-schedulerbuilder-1-dot-maxappointmentspercell-x28-devextreme-dot-aspnet-dot-mvc-dot-maxappointmentspercell-x29.md

latest1.5 KB
Original Source

SchedulerBuilder<T>.MaxAppointmentsPerCell(MaxAppointmentsPerCell) Method

Specifies the limit of full-sized appointments displayed per cell. Applies to all views except 'agenda'. Mirrors the client-side maxAppointmentsPerCell option.

Namespace : DevExtreme.AspNet.Mvc.Builders

Assembly : DevExtreme.AspNet.Core.dll

Declaration

csharp
public SchedulerBuilder<T> MaxAppointmentsPerCell(
    MaxAppointmentsPerCell value
)

Parameters

NameTypeDescription
valueMaxAppointmentsPerCell

The option value.

|

Returns

TypeDescription
SchedulerBuilder<T>

A reference to this instance after the method is called.

|

Remarks

Use the following notation to set the option’s value:

cshtml
@(Html.DevExtreme().Scheduler()
    .MaxAppointmentsPerCell(MaxAppointmentsPerCell.Auto)
)

See Also

SchedulerBuilder<T> Class

SchedulerBuilder<T> Members

DevExtreme.AspNet.Mvc.Builders Namespace