Telerik Forums
UI for Xamarin Forum
0 answers
51 views
Hi, the calendar on iOS in monthview mode looks good because we have put a white background but the yearcalendar or monthscalendar mode appears with a black background. I would like to be able to put a white background but I don't see what the property is.

Thank you.
X
Top achievements
Rank 1
 asked on 21 Mar 2023
1 answer
75 views
I was wondering if it was possible to edit the colors and font of the DayItemFormat of AgendaViewSettings? I have been searching for a solution for a while but can't find any.
Didi
Telerik team
 answered on 21 Dec 2022
0 answers
105 views

I have a problem with my RadCalendar. Whenever I create a calendar in Agenda view and populate it with appointments, I get a visual bug that shows a colored square on top of the calendar.  This only happens in iOS and both in real phones and simulations.

Image 1 shows the calendar page without appointments and it loads normally. Image 2 shows the page when calendar is populated with appointments. You can get rid of the square by scrolling either up or down, 'till the square is no longer in view and then going back, this is shown in image 3.  

So far I have found that the color of the square is linked to the Dark/Light mode of the phone. When changing UIUserInterfaceStyle in Info.plist, to "Dark", the square is dark, when Light, it is white.

Dummy Appointment code:

  var date = DateTime.Today;

            this.Appointments = new ObservableCollection<Appointment>
        {
            new Appointment {
                Title = "Meeting with Tom",
                Detail = "Sea Garden",
                StartDate = date.AddHours(10),
                EndDate = date.AddHours(11),
                Color = Color.Tomato
            },
            new Appointment {
                Title = "Lunch with Sara",
                Detail = "Restaurant",
                StartDate = date.AddHours(12).AddMinutes(30),
                EndDate = date.AddHours(14),
                Color = Color.DarkTurquoise
            },
            new Appointment {
                Title = "Elle Birthday",
                StartDate = date.AddHours(9),
                EndDate = date.AddHours(11),
                Color = Color.Orange,
                IsAllDay = true
            },
            new Appointment {
                Title = "Football Game",
                StartDate = date.AddDays(2).AddHours(15),
                EndDate = date.AddDays(2).AddHours(17),
                Color = Color.Green
            },
        };

RadCalendar code:

     private RadCalendar TelerikCalendar()
        {
            LogWriter.LogWrite("Calendar: TelerikCalendar()");

            AgendaViewSettings agendaViewSettings = new AgendaViewSettings
            {
                MonthItemFormat = "MMM yyyy", //"MMM yyyy",
                DayItemFormat = "EEEE d.MMM", //"EEEE d.MMM"
                AppointmentItemTimeFormat = "HH.mm",
                IsHeaderSticky = false,
                StickyHeaderFormat = "MMM yyyy",
            };


            calendar = new RadCalendar
            {
                ViewMode = CalendarViewMode.Agenda,
                HorizontalOptions = LayoutOptions.FillAndExpand,
                VerticalOptions = LayoutOptions.FillAndExpand,
                AgendaViewSettings = agendaViewSettings,
                Margin = new Thickness(0, 0, 13, 0),
                SchedulingUiEnabled = false,
                IsAddAppointmentButtonVisible = false,
                DisplayDate = DateTime.Now,
                AppointmentsSource = this.Appointments,
                BackgroundColor = Color.Black,

            };

            return calendar;
        }

Teemu
Top achievements
Rank 1
 asked on 23 May 2022
1 answer
123 views

Hi,

we war using the Telerik Calender in a MasterDetailPage as Master und the Information of the Date is in the Detail visualized. The new requirements are the App has to be a full physical Keyboard accessibility.

The MasterDetailpage is inside a Tappedpage. Only if a change the TappedPage, then the Calendar (Masterdetailpage -> Master) gets the keyboard focus. Wen i use the Tabulator-Key ("TAB") then the focus changed to the Detail and all other Elements, but the Calendar gets never the focus again (there Skip the Calendar).

the Calendar gets only the Focus, when ...

1. the TappedPage changes (between tabs)

2. use the key "Shift + Tabulator"

 

is there a way to fix the Tabindex or to force the Calendar to request the keyboard focus? In MasterDetailPages without the Calendar there is no problem. i tried to set "Tabindex", "IsTabStop", "Focused-Event" etc. without an effect.

 

Thanks :)

Imotek

Yana
Telerik team
 answered on 02 Jun 2021
2 answers
63 views

Hi,

I'm working on an application using the Telerik Calendar for Xamarin Forms. I have a ContentPage where I show both a month view calendar, and below that, a agenda view calendar. The user can change language in the settings for this application, and therefore I need to be able to change the language for the calendars accordingly. I've implemented custom renderers for this, both for iOS and Android. For Android, the agenda view calendar is not updated (the language does not change), but it works for the calendar with month view. In iOS, this all works fine when setting Locale on the TKCalendar. On Android, I'm setting Locale on the RadCalendarView control.

 

Is the localization for agenda view not working like this for Android? Is there any other properties that needs to be changed? I've attached one images from Android where I changed language from english to swedish. This works on iOS, but the agenda view calendar on Android is still in english.

I would be really thankful for any help!

 

Yana
Telerik team
 answered on 08 Jul 2020
11 answers
132 views

Currently for Calendar swipe is happening left or right , i want to add up and down swipe instead of left and right?

How can  i achieve this?

 

Thanks in advance,

Siva

John
Top achievements
Rank 1
 answered on 07 Jul 2019
3 answers
248 views

Hi Team,

I am using Calendar Control and in month view mode it currently shows 

previous month's last week dates and next months first week dates as well.

Is it possible to show only dates for current month .?

Please let me know how we could achieve it.

 

Thanks,

Avinash

 

Yana
Telerik team
 answered on 12 Jun 2019
1 answer
67 views

Hi Team,

 

I am using TKCalendar and want to know how can I disable deselection of any selected date?

Kindly provide if any possible way.

 

Thanks,

Avinash

Lance | Senior Manager Technical Support
Telerik team
 answered on 10 Jun 2019
1 answer
25 views

Hi,

Can anybody help me to do "All day" translation in calendar?

Thanks

 

Didi
Telerik team
 answered on 11 Apr 2019
1 answer
71 views

Hi Team,

I am using TKCalendar for my iOS App and am using custom data cell as instructed in documents.

I need to disable user action on particular dates .

how could it be achieved?

 

Thanks,

Avinash

 

 

Yana
Telerik team
 answered on 13 Feb 2019
Top users last month
Mark
Top achievements
Rank 1
Yurii
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Hon
Top achievements
Rank 1
Iron
Deltaohm
Top achievements
Rank 3
Bronze
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?