Configuring Metro Theme

2 posts, 0 answers
  1. Bob
    Bob avatar
    1 posts
    Member since:
    Jul 2011

    Posted 14 Jul 2011 Link to this post

    Congrats on the forward thinking with respect to the Metro theme.

    The docs are a little behind the code (we all sympathise), so I was wondering how to set the Metro theme, and select the Colors used in the theme. Purple is a bit....purple. :)

    Bob
  2. Dani
    Admin
    Dani avatar
    848 posts

    Posted 15 Jul 2011 Link to this post

    Hi Bob,

    Thank you for your feedback on the newly developed Metro theme.

    It is intended to serve as a base and easily provide color variations to suit the needs of our customers. 

    The default accent color for the Metro theme is blue. You can go ahead and try changing the accent color and see your metro controls change accordingly:
    MetroColors.PaletteInstance.AccentColor = Colors.Red;

    For the background color, on the other hand, change the MainColor:
    MetroColors.PaletteInstance.MainColor = Colors.LightCoral;

    I hope this helps.


    All the best,
    Dani
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

Back to Top