Back to Devexpress

SchedulerViewBuilder.AllDayPanelMode(AllDayPanelMode) Method

aspnetcore-devextreme-dot-aspnet-dot-mvc-dot-builders-dot-schedulerviewbuilder-dot-alldaypanelmode-x28-devextreme-dot-aspnet-dot-mvc-dot-alldaypanelmode-x29.md

latest1.4 KB
Original Source

SchedulerViewBuilder.AllDayPanelMode(AllDayPanelMode) Method

Specifies the display mode for the All day panel. Mirrors the client-side allDayPanelMode option.

Namespace : DevExtreme.AspNet.Mvc.Builders

Assembly : DevExtreme.AspNet.Core.dll

Declaration

csharp
public SchedulerViewBuilder AllDayPanelMode(
    AllDayPanelMode value
)

Parameters

NameTypeDescription
valueAllDayPanelMode

An enumeration value.

|

Returns

TypeDescription
SchedulerViewBuilder

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()
    .Views(views => {
        views.Add().AllDayPanelMode(AllDayPanelMode.All);
    })
)

See Also

SchedulerViewBuilder Class

SchedulerViewBuilder Members

DevExtreme.AspNet.Mvc.Builders Namespace