-
Notifications
You must be signed in to change notification settings - Fork 4
/
MainPage.xaml
40 lines (40 loc) · 1.99 KB
/
MainPage.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:dx="http://schemas.devexpress.com/maui"
x:Class="SchedulerExample.MainPage"
Title="Example">
<dx:WorkWeekView Start="{Binding StartDate}"
FirstDayOfWeek="Monday"
WorkDays="Monday,Tuesday,Wednesday,Friday"
WorkTime="7:00:00-19:00:00"
ShowWorkTimeOnly="True"
TimeScaleInterval="01:00:00"
TimeScaleSlotCount="4"
SnapToCellsMode="Never"
Tap="WorkWeekView_Tap">
<dx:WorkWeekView.DataStorage>
<dx:SchedulerDataStorage x:Name="storage">
<dx:SchedulerDataStorage.DataSource>
<dx:DataSource AppointmentsSource="{Binding MedicalAppointments}"
AppointmentLabelsSource="{Binding AppointmentTypes}">
<dx:DataSource.AppointmentMappings>
<dx:AppointmentMappings
Id="Id"
Start="StartTime"
End="EndTime"
Subject="Subject"
LabelId="LabelId"
Location="Location"/>
</dx:DataSource.AppointmentMappings>
<dx:DataSource.AppointmentLabelMappings>
<dx:AppointmentLabelMappings
Caption="Caption"
Color="Color"
Id="Id"/>
</dx:DataSource.AppointmentLabelMappings>
</dx:DataSource>
</dx:SchedulerDataStorage.DataSource>
</dx:SchedulerDataStorage>
</dx:WorkWeekView.DataStorage>
</dx:WorkWeekView>
</ContentPage>