Hi,
I have a weekview and template info.
How do I hide all recurring appointments and show only non-recurring ones?
Thank you in advance
Hello John,
Thank you for posting in our forum.
To hide an appointment you may set its Visible property to false. In order to hide all recurring appointments you need to check IsRecurringAppointmentRoot property of each appointment in the Appointments collection of your UltraCalendarInfo. If this returns true set the Visible property to false. You may use code like this:
foreach (var appointment in this.ultraCalendarInfo1.Appointments)
{
if (appointment.IsRecurringAppointmentRoot)
appointment.Visible = false;
}
In the attached sample project I have hidden all recurring appointments. Please check my sample and let me know if you need any additional information.
Thank you contacting us for using Infragistics Components.