DevExpress Scheduler for .NET MAUI
- 2 minutes to read
The DevExpress Scheduler for .NET MAUI Suite displays appointments and allows users to manage them. This control has a consistent look and feel on iOS and Android platforms. Different Scheduler views display appointments for different time periods: month, week (or work-week), day, and day by day (agenda). The image below illustrates week, day, and agenda views.
](/MAUI/images/scheduler/landing/views.png)
Add a Scheduler View to a Page
Download and install the DevExpress.Maui.Scheduler package. This package contains the following Scheduler views:
Refer to the following help topics for additional information:
- Install Packages from NuGet.org: Visual Studio, VS Code, and JetBrains Rider
- Get Started with DevExpress Controls for .NET Multi-platform App UI (.NET MAUI)
The following example adds a work-week view with specified appointments to a ContentPage:
<ContentPage ...
xmlns:dx="http://schemas.devexpress.com/maui">
<dx:WorkWeekView>
<dx:WorkWeekView.DataStorage>
<dx:SchedulerDataStorage>
<dx:SchedulerDataStorage.DataSource>
<dx:DataSource AppointmentsSource="{Binding MedicalAppointments}">
<dx:DataSource.AppointmentMappings>
<dx:AppointmentMappings Id="Id"
Start="StartTime"
End="EndTime"
Subject="Subject"
LabelId="LabelId"
Location="Location"/>
</dx:DataSource.AppointmentMappings>
</dx:DataSource>
</dx:SchedulerDataStorage.DataSource>
</dx:SchedulerDataStorage>
</dx:WorkWeekView.DataStorage>
</dx:WorkWeekView>
</ContentPage>
Scheduler views use the ViewBase.DataStorage (AgendaView.DataStorage) property to store their appointments (for example, start and end time), appointment labels, and appointment status information. To load appointment information to the Scheduler view, use the following properties:
DataSource.AppointmentsSource and DataSource.AppointmentMappings
DataSource.AppointmentLabelsSource and DataSource.AppointmentLabelMappings
DataSource.AppointmentStatusesSource and DataSource.AppointmentStatusMappings
For a step-by-step guide on how to create a .NET MAUI app with a Scheduler view, refer to the following help topic: Get Started with DevExpress Scheduler for .NET MAUI.
Next Steps
- Get Started
- This step-by-step tutorial guides you through creating an app with a WorkWeekView.
- Views
- Describes the available scheduler views.
- Visual Elements
- Describes visual elements of scheduler views.
- Appearance Settings
- Lists API members that you can use to customize scheduler appearance.
- Time Zones
- Explains how to configure time zone settings in a scheduler.
- Workweek and Timescale
- Lists API members that allow you to adjust the workweek and timescale.
- Appointment Edit Form
- Explains how to invoke and configure a form to edit appointments.
- Labels
- Describes how to configure labels (the background color of an appointment’s rectangle).
- Examples
- Links to GitHub examples that use Scheduler views.