Skip to main content

MonthView Class

The View that displays all appointments for a month.

Namespace: DevExpress.Maui.Scheduler

Assembly: DevExpress.Maui.Scheduler.dll

NuGet Package: DevExpress.Maui.Scheduler

Declaration

public class MonthView :
    ViewBase,
    IAppearanceOwner

Remarks

The image below highlights elements the View includes:

Day View Elements

  1. Header Item
  2. Cell
  3. Appointment

The following table lists basic settings that configure the view:

Property

Description

ShowWorkDaysOnly

Gets or sets whether the view shows only workdays. This is a bindable property.

WeekCount

Gets or sets a number of weeks that the View shows on the screen at one time. This is a bindable property.

Example

The following example shows appointments for a month:

DevExpress Scheduler for MAUI - Customize month view

View Example

<dxsch:MonthView x:Name="monthView" Start="{Binding Start, Mode=TwoWay}" Tap="MonthView_OnTap">
    <dxsch:MonthView.DataStorage>
        <dxsch:SchedulerDataStorage>
            <dxsch:SchedulerDataStorage.DataSource>
                <dxsch:DataSource AppointmentsSource="{Binding Appointments}">
                    <dxsch:DataSource.AppointmentMappings>
                        <dxsch:AppointmentMappings Type="AppointmentType"
                                                   AllDay="AllDay"
                                                   Start="Start"
                                                   End="End"
                                                   Id="Id"
                                                   Description="Description"
                                                   Location="Location"
                                                   RecurrenceInfo="RecurrenceInfo"
                                                   StatusId="Status"
                                                   Subject="Subject"
                                                   LabelId="Label" />
                    </dxsch:DataSource.AppointmentMappings>
                </dxsch:DataSource>
            </dxsch:SchedulerDataStorage.DataSource>
        </dxsch:SchedulerDataStorage>
    </dxsch:MonthView.DataStorage>
</dxsch:MonthView>
See Also