Increase Header Font in C#

3 posts, 0 answers
  1. James
    James avatar
    1 posts
    Member since:
    Nov 2013

    Posted 28 Nov 2013 Link to this post

    How can I increase the font size of the name of the days in a MonthlyView. (Sunday... Monday.... in the header) in C#



    Thanks for your help



  2. Dess
    Admin
    Dess avatar
    1609 posts

    Posted 03 Dec 2013 Link to this post

    Hello James,

    Thank you for contacting Telerik Support.

    You can change the SchedulerMonthView header cells' font as follows: 
    public Form1()
    {
        InitializeComponent();
     
        radScheduler1.ActiveViewType = Telerik.WinControls.UI.SchedulerViewType.Month;
        SchedulerMonthViewElement monthViewElement = radScheduler1.SchedulerElement.ViewElement as SchedulerMonthViewElement;
        Font newFont = new Font("Arial", 10, FontStyle.Italic);
        foreach (SchedulerHeaderCellElement cell in monthViewElement.Header.GetCells())
        {
            cell.Font = newFont;
        }
    }

    I hope this information helps. Should you have further questions, I would be glad to help.

    Regards,
    Desislava
    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. ASDF
    ASDF avatar
    1 posts
    Member since:
    Jan 2011

    Posted 28 Mar 2014 in reply to Dess Link to this post

    Thanks it's worked!

    Jonathan
Back to Top