|
<schedule:SfSchedule x:Name="schedule" ScheduleView="WeekView">
<schedule:SfSchedule.WeekViewSettings>
<!--setting week view settings properties -->
<schedule:WeekViewSettings
TimeSlotColor="#fcf3c9"
TimeSlotBorderColor="#fceb9f"
TimeSlotBorderStrokeWidth="5"
VerticalLineStrokeWidth="5"
VerticalLineColor="LightGray">
</schedule:WeekViewSettings>
</schedule:SfSchedule.WeekViewSettings>
</schedule:SfSchedule> |
|
<schedule:SfSchedule BindingContext="{Binding}" Margin="0,-10,0,0"
x:Name="Schedule" ShowAppointmentsInline="true"
ScheduleView="MonthView"
HorizontalOptions="FillAndExpand"
VerticalOptions="FillAndExpand" >
<schedule:SfSchedule.MonthViewSettings>
<schedule:MonthViewSettings>
<schedule:MonthViewSettings.MonthCellTemplate>
<DataTemplate>
<Button BorderColor="Black"
BorderWidth="0.4"
BorderRadius="0"
BackgroundColor = "White"
VerticalOptions="FillAndExpand"
HorizontalOptions="FillAndExpand"
Text="{Binding Date, StringFormat='{0:dd}'}"
TextColor="Black"/>
</DataTemplate>
</schedule:MonthViewSettings.MonthCellTemplate>
</schedule:MonthViewSettings>
</schedule:SfSchedule.MonthViewSettings>
</schedule:SfSchedule> |