I don't understand how to use this #57
-
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Yes, the sample project's playground page is complicated. I would suggest looking at the examples as they are much easier to understand; most of them only showcase one function of the Calendar at a time.
In terms of your problem with the dates not showing, can I see the code for your ViewModel please? |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
Yes, the sample project's playground page is complicated. I would suggest looking at the examples as they are much easier to understand; most of them only showcase one function of the Calendar at a time.
To switch months, you can call Calendar's 'NavigateCalendar' method. To set the command for the arrows, you can change the
ForwardsArrowCommand
,ForwardsArrowCommandParameter
,BackwardsArrowCommand
andBackwardsArrowCommandParameter
properties of theCalendarView
.You can change the appearance and behaviour of a day by setting the
DayTemplate
property of theCalendarView
. (Look at the 'Using CalendarDayView' example in the sample app).For your use case I think the 'Event Calendar' e…