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

Chnage RadCalandar background color

1 Answer 35 Views
Calendar, DateTimePicker, TimePicker and Clock
This is a migrated thread and some comments may be shown as answers.
Adnan Jamil
Top achievements
Rank 1
Adnan Jamil asked on 18 Feb 2011, 04:01 AM
Hello,

I am new to WinForms Rad Controls. I want to change the back color of a radCalander at run time. Please let me, how its possible.

Thanks

1 Answer, 1 is accepted

Sort by
0
Accepted
Richard Slade
Top achievements
Rank 2
answered on 18 Feb 2011, 08:44 AM
Hello,

You can change the back color of the RadCalendar by setting
Me.RadCalendar1.CalendarElement.BackColor = Color.Chocolate
Me.RadCalendar1.CalendarElement.NumberOfColors = 1

You can also use the Visual Style Builder to create your own themes that can be changed at runtime.
Hope that helps.
Richard
Tags
Calendar, DateTimePicker, TimePicker and Clock
Asked by
Adnan Jamil
Top achievements
Rank 1
Answers by
Richard Slade
Top achievements
Rank 2
Share this question
or