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
DateSelectionChangedevent which hasDateSelectionChangedEventArgswhich allows you to access thePreviousSelectionandCurrentSelection.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.DayTemplateto aDayViewand bind theCurrentMonthCommandto a method that calls the Calendar'sChangeDateSelectionmethod.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.