Need to increase radCalendar Title font size

5 posts, 0 answers
  1. Kiran
    Kiran avatar
    4 posts
    Member since:
    Nov 2013

    Posted 14 Nov 2013 Link to this post

    Hi,
    I want to increase the radCalendar's title font size. Can you please provide the steps where i can do this.
    I don't see any property for radCalendar to change font size.
    Let me know, if you need more information.
  2. Ralitsa
    Admin
    Ralitsa avatar
    176 posts

    Posted 19 Nov 2013 Link to this post

    Hi Kiran, 

    Thank you for contacting us.

    The header area of the RadCalendar contains the title and the navigation buttons. In order to access the title and increase its font size, you need to use the CalendarNavigationElement

    Here is a sample code which demonstrates how to modify the Font property:
    Font font = new Font("Arial", 14f);
    RadCalendarElement element = this.radCalendar1.CalendarElement;
    element.CalendarNavigationElement.Font = font;
    In our help you can find more information about Customizing Navigation.

    I hope this will help. Do not hesitate to write back with further questions.

    Regards,
    Ralitsa
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINFORMS.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Kiran
    Kiran avatar
    4 posts
    Member since:
    Nov 2013

    Posted 19 Nov 2013 Link to this post

    Hi,
    This helped me exactly as expected. Appreciated for your time.
  5. Peter
    Peter avatar
    4 posts
    Member since:
    Apr 2013

    Posted 13 Feb 2014 Link to this post

    Is there any way to reproduce this solution for the title and navigation panel at the top of the calender drop down on the RadDateTimePicker?

    I have managed to manipulate the size of the dates inside the calender, however I cannot find a way to increase the size of the navigation or title part of the drop down

    Thanks in advance.
  6. Ralitsa
    Admin
    Ralitsa avatar
    176 posts

    Posted 18 Feb 2014 Link to this post

    Hi Peter,

    Thank you for contacting us. 

    You can change font and size of title in the RadDateTimePickerCalendar. Please take a look at the following example: 
    Font font = new Font("Arial", 14f);
    RadDateTimePickerCalendar calendarBehavior = this.radDateTimePicker1.DateTimePickerElement.GetCurrentBehavior() as RadDateTimePickerCalendar;       
    RadCalendar calendar = calendarBehavior.Calendar as RadCalendar;
    RadCalendarElement element = calendar.CalendarElement;
    element.CalendarNavigationElement.Font = font;

    Hope this will help you. Let me know if you have any other questions.

    Regards,
    Ralitsa
    Telerik
Back to Top
UI for WinForms is Visual Studio 2017 Ready