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

Metro Scheduler Style

2 Answers 57 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Ramski
Top achievements
Rank 1
Ramski asked on 17 Oct 2011, 01:19 AM
Hi Telerik,

I'm designing a project that uses scheduler view for bookings, the nearest theme that is consistent to my design is the metro theme, but I'm having difficulty styling the whole scheduler because when I try to style it the style becomes default radscheduler which is the office_black theme and not metro. is there any style or code that you have that has the metro theme colors already? 

Thanks,

2 Answers, 1 is accepted

Sort by
0
Maxence
Top achievements
Rank 1
answered on 17 Oct 2011, 03:24 AM
Hi Ramski,

i thin you have to add telerik:StyleManager.Theme attribute to your scheduleview.

<telerik:RadScheduleView x:Name="ScheduleView" telerik:StyleManager.Theme="Metro" DataContext="{Binding}">

perhaps also necessary to add the "telerik themes" dll references such as :
Telerik.windows.themes.Metro

Regards,

Maxence
0
Dani
Telerik team
answered on 17 Oct 2011, 08:35 AM
Hello Ramil,

Maxence is right. If you wish to simply apply a theme to the RadScheduleView control, you have to use the following syntax:
<telerik:RadScheduleView telerik:StyleManager.Theme="Metro" />

What you need to be cautious about is that if you also apply a Style, the Style will override the theme. So if you need to apply a style and a theme, I suggest you only use a style from a particular theme and modify it to your requirements.

I hope this helps.

All the best,
Dani
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
Tags
ScheduleView
Asked by
Ramski
Top achievements
Rank 1
Answers by
Maxence
Top achievements
Rank 1
Dani
Telerik team
Share this question
or