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

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

Inheritance

Object
BindableObject
Element
NavigableElement
VisualElement
View
DevExpress.Maui.Core.Internal.DXViewElement
ViewBase
MonthView
See Also