From the explanation you have provided, it seems to me that the behavior is observed due to the size of the RadCalendar
. Basically, if the size of the calendar is too small - so that there is not enough space in the date cells to render the appointments - it will render a number that shows the count of appointments for this day. Can you please share the exact layout that you are using? Would it be possible to alter the Calendar so that it has bigger size and test the behavior this way? Otherwise, please make sure that the values you set in the AppointmentsStyle
would fit a smaller cell. For example:
(this.calendar as RadCalendar).AppointmentsStyle = new Telerik.XamarinForms.Input.CalendarAppointmentsStyle()
DisplayMode = AppointmentDisplayMode.Shape,
MaxCount = 20,
FontSize = 2,
Spacing = 1,
ShapeSize = new Size(3, 3),
ShapeType = CalendarAppointmentShapeType.Rectangle,
ShapesVerticalLocation = VerticalLocation.Center,
ShapesOrientation = Orientation.Horizontal
As for the AppointmentsStyle
not being applied before the native control is loaded, we have already fixed this bug and it should not cause any issues with the 2018.2.516 version of the controls(the one which is chosen in this ticket).
I have attached a sample for your reference. Please consider which option suits you best - to change the size of the calendar or to change the AppointmentsStyle so that it is suitable for smaller cells.
Have a great rest of the week.
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?
Telerik Feedback Portal
and vote to affect the priority of the items