Is it possible to set a Reccurrence Rule so that an appointment could happen every hour for days, but only between like 10am-4pm? I can easily create an hourly pattern that lasts for days, but don't know how to make it only happen between a certain range in a day.
Thanks!
1 Answer, 1 is accepted
0
Martin
Telerik team
answered on 09 Mar 2017, 11:53 AM
Hello Christian, To achieve the desired behavior you should create an appointment with an hour, duration a RecurrencePattern with a RecurrenceFrequency equal to hourly and HoursOfDay equal to the hours you want. For reference please take a look at the code snippet below:
app1.RecurrenceRule = new RecurrenceRule(pattern);
apps.Add(app1);
return apps;
}
I hope that this helps.
Regards,
Martin Vatev
Telerik by Progress
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which you to write beautiful native mobile apps using a single shared C# codebase.