Back to Devexpress

CalendarBuilder.MinZoomLevel(CalendarZoomLevel) Method

aspnetcore-devextreme-dot-aspnet-dot-mvc-dot-builders-dot-calendarbuilder-dot-minzoomlevel-x28-devextreme-dot-aspnet-dot-mvc-dot-calendarzoomlevel-x29.md

latest1.3 KB
Original Source

CalendarBuilder.MinZoomLevel(CalendarZoomLevel) Method

Specifies the minimum zoom level of the calendar. Mirrors the client-side minZoomLevel option.

Namespace : DevExtreme.AspNet.Mvc.Builders

Assembly : DevExtreme.AspNet.Core.dll

Declaration

csharp
public CalendarBuilder MinZoomLevel(
    CalendarZoomLevel value
)

Parameters

NameTypeDescription
valueCalendarZoomLevel

The option value.

|

Returns

TypeDescription
CalendarBuilder

A reference to this instance after the method is called.

|

Remarks

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

cshtml
@(Html.DevExtreme().Calendar()
    .MinZoomLevel(CalendarZoomLevel.Century)
)

See Also

CalendarBuilder Class

CalendarBuilder Members

DevExtreme.AspNet.Mvc.Builders Namespace