Click Event like "DateSelected" #130
-
Hello, I just started with Xcalendar because DatePicker can't mark days. Has XCalendar an Event when user clicks a day like "DateSelected" of the Maui DatePicker Tool? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The Calendar has the Info on Calendar events can be found on the wiki here. The CalendarView is just a display. In order to select items, you can set Info about date selection can be found on the wiki here. You may want to look at the "Date Selection", "Using DayView", and "Custom DatePicker Dialog" examples in the sample app. |
Beta Was this translation helpful? Give feedback.
The Calendar has the
DateSelectionChanged
event which hasDateSelectionChangedEventArgs
which allows you to access thePreviousSelection
andCurrentSelection
.Info on Calendar events can be found on the wiki here.
The CalendarView is just a display. In order to select items, you can set
CalendarView.DayTemplate
to aDayView
and bind theCurrentMonthCommand
to a method that calls the Calendar'sChangeDateSelection
method.Info about date selection can be found on the wiki here.
You may want to look at the "Date Selection", "Using DayView", and "Custom DatePicker Dialog" examples in the sample app.