Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DxSchedulerDayViewBase.DayCount Property

Specifies the number of days displayed in the Day View.

Namespace: DevExpress.Blazor.Base

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

#Declaration

C#
[DefaultValue(1)]
[Parameter]
public int DayCount { get; set; }

#Property Value

Type Default Description
Int32 1

A number of days.

#Remarks

Use this property to specify the number of days displayed simultaneously in the Day View.

The DayCount property is not in effect for the DxSchedulerWeekView and DxSchedulerWorkWeekView objects.

Razor
<DxScheduler StartDate="@DateTime.Today" DataStorage="@DataStorage">
    <DxSchedulerDayView ShowWorkTimeOnly="true" DayCount="3"></DxSchedulerDayView>
</DxScheduler>

Scheduler - A day count in Day view

Run Demo: Scheduler — View Types

See Also