|
button.Clicked += Button_Clicked;
…
private void Button_Clicked(object sender, EventArgs e)
{
schedule.ScheduleView = Syncfusion.SfSchedule.XForms.ScheduleView.WeekView;
} |
|
schedule.CellTapped += Schedule_CellTapped;
… void Schedule_CellTapped(object sender, CellTappedEventArgs e)
{
// You can obtain the selected appointment details for day, week and work week view
var appointment = e.Appointment;
// You can obtain the appointments details in selected month cell for month view
var appointments = e.Appointments;
// By using Appointment and Appointments property you can display the details in new page
this.Navigation.PushAsync(new ContentPage());
} |
|
public App()
{
InitializeComponent();
MainPage = new NavigationPage(new Sample.MainPage());
} |