WeekView Class
The view that displays all appointments for a specific week.
Namespace: DevExpress.Maui.Scheduler
Assembly: DevExpress.Maui.Scheduler.dll
NuGet Package: DevExpress.Maui.Scheduler
#Declaration
public class WeekView :
DayViewBase,
IDXViewController
#Remarks
The image below highlights elements the view includes:
- Time Ruler
- Time Ruler Cell
- Time Ruler Header
- Header Item
- All Day Area
- All Day Appointment
- All Day Cell
- Appointment
- Day Cell
Note
The First
The following table lists basic settings that configure the view:
Property | Description |
---|---|
Gets or sets whether the View should show only Work | |
Gets or sets how the View snaps the scheduler’s appointments. This is a bindable property. |
#Example
The following example shows appointments for a week:
<dx:WeekView Start="{Binding Start}" Tap="WeekView_OnTap">
<dx:WeekView.DataStorage>
<dx:SchedulerDataStorage x:Name="storage">
<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:WeekView.DataStorage>
</dx:WeekView>