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

Change style chrome button in the schedular

10 Answers 96 Views
DatePicker
This is a migrated thread and some comments may be shown as answers.
lieke
Top achievements
Rank 1
lieke asked on 30 Jun 2014, 12:50 PM
I have changed the style of the Radschedular. 

But I can not adjust DayButton style. How does this work? 
See attached file: I would like to change the colors of the orange button.

I work with version 2012 Q3

10 Answers, 1 is accepted

Sort by
0
Masha
Telerik team
answered on 02 Jul 2014, 12:21 PM
Hi Lieke,

You need to modify the ButtonChrome VisualStates in order to change the Selected and MouseOver states of RadCalendar.

Please take a look at the attached project where is included the ButtonChrome style where the Selected state is modified.

I hope it helps.


Regards,
Masha
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
0
lieke
Top achievements
Rank 1
answered on 03 Jul 2014, 08:22 AM
Thank you for your replay, If I use the style thats been used in the attatched file I will get the following error:

The Name "ButtonChrome" does not exist in the namespace "Clr-namespace:Telerik.Windows.Controls.Chromes;assembly=Telerik.Windows.Controls

what does that mean?

Regards,

Lieke
0
Masha
Telerik team
answered on 03 Jul 2014, 01:50 PM
Hi Lieke,

Can you please share more details on which theme has you used.

Please, keep in mind that some themes do not have ButtonChromes. This may be possible reason for the described error. The themes without ButtonChrome are  ExpressionDark, Windows8, Windows8Touch, Office2013 and VisualStudio2013 theme.

Also can you confirm you are using NoXaml binaries in the project?


Regards,
Masha
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
0
Vincent
Top achievements
Rank 1
Iron
answered on 04 Jul 2014, 03:23 PM
how to apply visualstudio2013 theme ? StyleManager.ApplicationTheme = new ????????????????
0
Kalin
Telerik team
answered on 07 Jul 2014, 08:07 AM
Hello Vincent,

The VisualStudio2013 theme can be only applied using Implicit Styles. For more details about the theme you can check the following article from our online help documentation:
http://www.telerik.com/help/silverlight/common-styling-appearance-visualstudio2013-theme.html

Hope this helps.

Regards,
Kalin
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
0
lieke
Top achievements
Rank 1
answered on 22 Jul 2014, 09:13 AM
I think I use ExpressionDark but I'm not sure because whenn I change the theme I can see the changes in blend but they dissapear whenn I build the entire solution.
0
Kalin
Telerik team
answered on 24 Jul 2014, 08:33 AM
Hello Lieke,

Can you share a screenshot of the ScheduleView theme so we confirm what is the used theme? The sample Masha sent you was created for the Office Black theme - if you are using another theme you would need extract the needed Styles and Templates from the used theme and modify them the way Masha has demonstrated in the sample project.

Hope this helps.

Regards,
Kalin
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
0
lieke
Top achievements
Rank 1
answered on 25 Jul 2014, 02:25 PM
this is a screenshot of the scheduleView
0
lieke
Top achievements
Rank 1
answered on 25 Jul 2014, 02:25 PM
o sorry din't add the attachment ;)
0
Kalin
Telerik team
answered on 29 Jul 2014, 07:42 AM
Hi Lieke,

The theme from the screenshot you provided is OfficeBlack - the example we attached in the previous post is using the same theme. So you should be able to use the code from the example and modify it as Masha explained you. Alternatively you could manually extract the Template of the ButtonChrome in Blend, remove the x:Key and modify the VisualStates Masha mentioned.

Hope this helps.

Regards,
Kalin
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
Tags
DatePicker
Asked by
lieke
Top achievements
Rank 1
Answers by
Masha
Telerik team
lieke
Top achievements
Rank 1
Vincent
Top achievements
Rank 1
Iron
Kalin
Telerik team
Share this question
or