Hi,
I want to display a calendar where we can create appointments for particular date and time .I am using Windows 8 Phone Panorama application.
So could anybody explain how to make this operation using date calendar in Windows 8 Phone app?
Thank You
Loading
Jaganathan BantheswaranPosted Oct 30, 2013, 1:07 AM
You can save the appointment to Calendar using the SaveAppointmentTask class.
SaveAppointmentTask saveAppointmentTask = new SaveAppointmentTask();
saveAppointmentTask.StartTime = DateTime.Now.AddHours(2);
saveAppointmentTask.EndTime = DateTime.Now.AddHours(3);
saveAppointmentTask.Subject = "Appointment subject";
saveAppointmentTask.Location = "Appointment location";
saveAppointmentTask.Details = "Appointment details";
saveAppointmentTask.IsAllDayEvent = false;
saveAppointmentTask.Reminder = Reminder.FifteenMinutes;
saveAppointmentTask.AppointmentStatus = Microsoft.Phone.UserData.AppointmentStatus.Busy;
saveAppointmentTask.Show(); // Saves the appointment to calendar.