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

Customize appointment contents in Metro

3 Answers 91 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Eric
Top achievements
Rank 1
Eric asked on 22 Aug 2011, 09:23 PM
We have need to customize the appointment contents in the ScheduleView.  We have done so successfully on the Office Black theme, but would prefer to do so using the Metro theme.  As I understand it, we would need to have the "source" resource dictionaries from Metro for the ScheduleView control but they are not installed with the 2011 Q2 release.  Is there a way to extract them using Blend?  Alternatively, can they be downloaded from somewhere?

3 Answers, 1 is accepted

Sort by
0
Pana
Telerik team
answered on 25 Aug 2011, 03:00 PM
Hi Eric,

I am attaching the ScheduleView.xaml for the Metro theme. I hope you could use it.

All the best,
Pana
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

0
Eric
Top achievements
Rank 1
answered on 25 Aug 2011, 04:37 PM
Thank you for this, but there seems to be an issue.  The compiler is complaining about two missing references (local:NullToBooleanConverter and local:GroupHeaderButton).  "local" is mapped to
"clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.ScheduleView" of course.

I am using what I believe to be the latest version of the assemblies (version 2011 2.712.1040)...is it possible this resource dictionary is from a newer, as yet unreleased, version of the control?

Also, is it possible to get the Metro theme for the GridView as well?  We are customizing the behavior there too.


0
Yana
Telerik team
answered on 26 Aug 2011, 11:49 AM
Hi Eric,

I guess that was the problem indeed. This GroupHeaderButton should be available already in internal builds. I thought I got the styles from the official release but I guess I was wrong.

You could use the Beta tool Telerik Just Decompiler or the now payed Reflector to open the Metro theme assembly. The XAML files are inside as resources. You should be able to literally right-click save them.

You can find the XAML files of RadScheduleView and RadGridView attached.

All the best,
Yana
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

Tags
ScheduleView
Asked by
Eric
Top achievements
Rank 1
Answers by
Pana
Telerik team
Eric
Top achievements
Rank 1
Yana
Telerik team
Share this question
or