Custom Theme Brushes

7 posts, 0 answers
  1. talal
    talal avatar
    1 posts
    Member since:
    Oct 2012

    Posted 15 Sep 2011 Link to this post

    Hi,
    I just read in your wpf documentation section to change theme brushes for Metro Custom theme. i.e.

    MetroColors.PaletteInstance.MainColor = Colors.Black;
                MetroColors.PaletteInstance.AccentColor = Colors.Orange;
                MetroColors.PaletteInstance.BasicColor = Colors.DarkGray;
                MetroColors.PaletteInstance.StrongColor = Colors.Gray;
                MetroColors.PaletteInstance.MarkerColor = Colors.LightGray;
                MetroColors.PaletteInstance.ValidationColor = Colors.Red;


    Can i do the same for other telerik themes like Windows7Theme?
  2. Pana
    Admin
    Pana avatar
    748 posts

    Posted 20 Sep 2011 Link to this post

    Hi,

    Long story short: NO.

    I am sorry for the inconvenience.

    The color scheme applied in the Metro theme has its drawbacks as the brushes are could not be auto frozen in WPF and one should freeze them manually if he is about to open multiple threads with UI. Also every single item that has a color applied is actually bound and listen for changes.

    We will not change existing themes for backward compatibility but it is possible that we will have more colorizable themes in future.

    Greetings,
    Pana
    the Telerik team
    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
  3. Gonzalo
    Gonzalo avatar
    76 posts
    Member since:
    Oct 2012

    Posted 03 May 2012 Link to this post

    What is the actual color code (blueish color)for the default MetroColors.PaletteInstance.AccentColor ?

    Thanks

    G
  4. Vanya Pavlova
    Admin
    Vanya Pavlova avatar
    2019 posts

    Posted 04 May 2012 Link to this post

    Hi Gonzalo,

     


    The hexadecimal color value of the default MetroColors.PaletteInstance.AccentColor is #FF25A0DA.



    Greetings,
    Vanya Pavlova
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  5. Gonzalo
    Gonzalo avatar
    76 posts
    Member since:
    Oct 2012

    Posted 04 May 2012 Link to this post

    Thank you!

    Where can I find the a listing of the other default metro colors?

    Best regards,

    Gonzalo
  6. Vanya Pavlova
    Admin
    Vanya Pavlova avatar
    2019 posts

    Posted 07 May 2012 Link to this post

    Hi Gonzalo,

     
    Here is the full list of brush resources and their hexadecimal color values used in Telerik Metro Theme: 

    Accent Brush
    <SolidColorBrush x:Key="Accent" Value="#FF25A0DA"/>
    MainBrush
    <SolidColorBrush x:Key="Main" Value="#FFFFFFFF"/>
    BasicBrush
    <SolidColorBrush x:Key="Basic" Value="#FFD6D4D4"/>
    ValidationBrush
    <SolidColorBrush x:Key="Validation" Value="#FFE22F07"/>
    MarkerBrush
    <SolidColorBrush x:Key="Marker" Value="#FF000000"/>
    StrongBrush
    <SolidColorBrush x:Key="Strong" Value="#FF767676"/>

    Regards,
    Vanya Pavlova
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  7. Gonzalo
    Gonzalo avatar
    76 posts
    Member since:
    Oct 2012

    Posted 15 May 2012 Link to this post

    My apologies for not having said "THANK YOU" earlier. Hope you are well. Best regards!

    G
Back to Top