-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMainPage.xaml
42 lines (41 loc) · 2 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
41
42
<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="CustomLanguageResource.MainPage"
xmlns:ios="clr-namespace:Microsoft.Maui.Controls.PlatformConfiguration.iOSSpecific;assembly=Microsoft.Maui.Controls"
ios:Page.UseSafeArea="True">
<ContentPage.Content>
<dx:WorkWeekView
FirstDayOfWeek="Monday"
ShowWorkTimeOnly="True"
SnapToCellsMode="Auto"
Start="{Binding StartDate}"
TimeScaleInterval="01:00:00"
WorkTime="7:00:00-19:00:00"
Tap="WorkWeekView_Tap">
<dx:WorkWeekView.DataStorage>
<dx:SchedulerDataStorage x:Name="storage">
<dx:SchedulerDataStorage.DataSource>
<dx:DataSource AppointmentLabelsSource="{Binding AppointmentTypes}" AppointmentsSource="{Binding MedicalAppointments}">
<dx:DataSource.AppointmentMappings>
<dx:AppointmentMappings
End="EndTime"
Id="Id"
LabelId="LabelId"
Location="Location"
Start="StartTime"
Subject="Subject" />
</dx:DataSource.AppointmentMappings>
<dx:DataSource.AppointmentLabelMappings>
<dx:AppointmentLabelMappings
Caption="Caption"
Id="Id"
Color="Color" />
</dx:DataSource.AppointmentLabelMappings>
</dx:DataSource>
</dx:SchedulerDataStorage.DataSource>
</dx:SchedulerDataStorage>
</dx:WorkWeekView.DataStorage>
</dx:WorkWeekView>
</ContentPage.Content>
</ContentPage>