This is a migrated thread and some comments may be shown as answers.

Increase Header Font in C#

2 Answers 86 Views
Scheduler and Reminder
This is a migrated thread and some comments may be shown as answers.
James
Top achievements
Rank 1
James asked on 28 Nov 2013, 06:10 PM

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 Answers, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 03 Dec 2013, 02:31 PM
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 >>
0
ASDF
Top achievements
Rank 1
answered on 28 Mar 2014, 08:14 PM
Thanks it's worked!

Jonathan
Tags
Scheduler and Reminder
Asked by
James
Top achievements
Rank 1
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
ASDF
Top achievements
Rank 1
Share this question
or