Hello Kyle,
There are some elements that do not support styling in the current version of RadCalendar control, but we have provided an endpoint to access the native calendars and modify them as per your needs. You can take a look at this article from our online documentation where you can find more information about how to override the default renderer.
Here is an example:
As for your previous question, the DisplayDate is a date from the current month. If the DisplayDateChanged event is fired, you can see if the month has changed if you check the month part of the new date.
I hope this helps.
Regards,
Rosy Topchiyska
Telerik
There are some elements that do not support styling in the current version of RadCalendar control, but we have provided an endpoint to access the native calendars and modify them as per your needs. You can take a look at this article from our online documentation where you can find more information about how to override the default renderer.
Here is an example:
public class CustomCalendarRenderer : CalendarRenderer{ protected override void OnElementChanged(ElementChangedEventArgs<RadCalendar> e) { base.OnElementChanged(e); this.Control.Adapter.TodayCellBackgroundColor = ColorExtensions.ToAndroid(Color.Red); this.Control.Adapter.TodayCellBorderColor = ColorExtensions.ToAndroid(Color.Yellow); this.Control.Adapter.SelectedCellBackgroundColor = ColorExtensions.ToAndroid(Color.Green); this.Control.CellDecorationsLayer.StrokeWidth = 5; this.Control.CellDecorationsLayer.Color = ColorExtensions.ToAndroid(Color.Blue); }}As for your previous question, the DisplayDate is a date from the current month. If the DisplayDateChanged event is fired, you can see if the month has changed if you check the month part of the new date.
I hope this helps.
Regards,
Rosy Topchiyska
Telerik
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Feedback Portal
and vote to affect the priority of the items