示例#1
0
        void Schedule_MonthInlineAppointmentTapped(object sender, MonthInlineAppointmentTappedEventArgs e)
        {
            var appointment = (e.Appointment as CalendarEvent);

            //Push the next page onto the Nav stack, pass it the appointment object
            CalendarEventDetails newPage = new CalendarEventDetails(appointment, myCalendar.calendarId);

            Navigation.PushAsync(newPage);
        }
示例#2
0
        private void Schedule_CellTapped(object sender, CellTappedEventArgs e)
        {
            var appointment = (e.Appointment as CalendarEvent);

            if (cal.ScheduleView == ScheduleView.WeekView && appointment != null)
            {
                //Push the next page onto the Nav stack, pass it the appointment object
                CalendarEventDetails newPage = new CalendarEventDetails(appointment, calId);
                Navigation.PushAsync(newPage);
            }
        }