Hi Sujit,
Thanks for your interest in Syncfusion products.
Based on the provided information, we suspect that your requirement is to create appointments in Schedule view which displays either single day or entire days of a week.
To display single day or entire days of a week.
In order to display single day with 24 hours timeslots in it, we can set ScheduleView Property as DayView, also to view the entire days in a week , it has to be set as WeekView. To know more about it please refer the below link,
To create appointments through interactions
Appointments can be created in the Schedule control through interaction by using ScheduleCellTapped event available in SfSchedule. For this please refer the below code snippet.
[C#]
schedule.ScheduleCellTapped+=Schedule_ScheduleCellTapped;
privatevoidSchedule_ScheduleCellTapped(objectsender,ScheduleTappedEventArgsargs) { vardate = args.datetime; //To get the selected date time varappointment = args.selectedAppointment; //To get the selected Appointment } |
The same scenario has been illustrated in our sample browser sample, for this please refer the below sample.
Xamarin/Samples/Forms/Samples/Schedule/ScheduleView.
If the provided solution doesn’t meet your requirement, please provide us back with more information about your requirement along with screenshots (if possible.). So that we could analyse on it and provide you better solution.
Regards,
Sivakumar P