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:
The following table lists basic settings that configure the view:
Property | Description |
---|---|
Gets or sets whether the view shows only workdays. This is a bindable property. | |
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:
<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>
Implements
Microsoft.Maui.Controls.ITabStopElement
Microsoft.Maui.IFrameworkElement
Inheritance
System.Object
See Also