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

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

C#
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

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