Hi Hardik,
#Regarding Showing the month and year in the Agenda view
As per the implementation of SfSchedule, there is no support for displaying the month and year in the agenda view for selected date. We suggest you to set the next month visible date as the selected date or selected date as null using the VisibleDatesChanged event when date changed. Please refer to the following code snippet for your reference.
Code snippet
|
private void Schedule_VisibleDatesChanged(object sender, VisibleDatesChangedEventArgs e)
{
NSDate date = e.VisibleDates.GetItem<NSDate>(21);
calendar = NSCalendar.CurrentCalendar;
// Get the year, month, day from the date
NSDateComponents components = calendar.Components(
NSCalendarUnit.Year | NSCalendarUnit.Month | NSCalendarUnit.Day, date);
// Set the hour, minute, second
components.Day = 1;
schedule.SelectedDate = calendar.DateFromComponents(components);
} |
Please refer to the sample in the following link for your reference.
Please let us know if you have any concerns.
Regards,
SaiGanesh Sakthivel