Customize appointment contents in Metro

4 posts, 0 answers
  1. Eric
    Eric avatar
    5 posts
    Member since:
    Jun 2011

    Posted 22 Aug 2011 Link to this post

    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?
  2. Pana
    Admin
    Pana avatar
    748 posts

    Posted 25 Aug 2011 Link to this post

    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 >>

  3. Eric
    Eric avatar
    5 posts
    Member since:
    Jun 2011

    Posted 25 Aug 2011 Link to this post

    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.


  4. Yana
    Admin
    Yana avatar
    4709 posts

    Posted 26 Aug 2011 Link to this post

    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 >>

Back to Top