Metro Theme

9 posts, 0 answers
  1. Tim
    Tim avatar
    114 posts
    Member since:
    Aug 2011

    Posted 28 Feb 2013 Link to this post

    Hello everyone!

    One question: Why did you remove the metro theme??? Is it possible to get it back?

    I know one should replace it with the Windows8Theme but - after only replacing Metro with Windows8 I am able (after some time) to start my application again but the whole design is destroyed. Some labels are not visible, spacing is wrong, and and and... It will be a lot of work to get all this up and running again... Why did you not just _add_ Windows8Theme - instead of replacing the metro theme with it?

    Another question: Is it possible to replace only the charting dll? Or are there side-effects?
    Looking forward to a time-saving answer! :)

    A big thanks and cheers,
    Tim.
  2. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 28 Feb 2013 Link to this post

    Hello,

     Metro theme was remove since Microsoft removed everything related to Metro because of legal issues. Maybe if you post more info about what kind of problems you have with Windows8 theme we may help you to resolve them.

    I'm afraid that you cannot use assemblies with different versions. 

    Regards,
    Vlad
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. DevCraft banner
  4. Tim
    Tim avatar
    114 posts
    Member since:
    Aug 2011

    Posted 28 Feb 2013 Link to this post

    Hello Vlad,

    thanks for the quick reply! I'll further investigate and let you know...
    Legal issues? But would it not have been possible to just "rename" it? Well, but anyway... Thanks again!

    Cheers,
    Tim.
  5. Tim
    Tim avatar
    114 posts
    Member since:
    Aug 2011

    Posted 05 Mar 2013 Link to this post

    I'll post a support ticket with two sample projects... Thanks!!!
  6. John
    John avatar
    18 posts
    Member since:
    Mar 2013

    Posted 15 Apr 2013 Link to this post

    Bad form on Telerik's part!  You should have came up with a fix beforehand.  Bad, bad, bad.
  7. Yanwar
    Yanwar avatar
    2 posts
    Member since:
    Feb 2013

    Posted 16 Sep 2013 Link to this post

    I have a project with metro theme. I modified this theme with color I like with 2 methode: binaries.noXaml and themes.Implicit. I would to modify windows8 theme like that. Can I do it with binaries.noXaml methode? So I just design color and font with code?

    Thanks
  8. Rosen Vladimirov
    Admin
    Rosen Vladimirov avatar
    640 posts

    Posted 19 Sep 2013 Link to this post

    Hi Yanwar,

    Our Windows8 theme replaced the Metro theme and you are able to customize it in the same manner. You can check this article for more information. I've also prepared a simple project demonstrating the behavior. Feel free to contact us in case you have any problems or concerns.

    Regards,
    Rosen Vladimirov
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  9. Yanwar
    Yanwar avatar
    2 posts
    Member since:
    Feb 2013

    Posted 09 Oct 2013 Link to this post

    Hi Rosen Vladimirov,

    You have been using RGB color like black, red, and blue. I using hexacolor, ex: #ffcccccc, etc. The code is below. You can use this code to convert from RGB color to Hexacolor. Thanks for help.

    StyleManager.ApplicationTheme = new Windows8Theme();
                string hexaColor = "#ff0173bc";//"#header";
                Color blue = Color.FromArgb(
                          Convert.ToByte(hexaColor.Substring(1, 2), 16),
                          Convert.ToByte(hexaColor.Substring(3, 2), 16),
                          Convert.ToByte(hexaColor.Substring(5, 2), 16),
                          Convert.ToByte(hexaColor.Substring(7, 2), 16));

                Windows8Colors.PaletteInstance.AccentColor = blue;

                string hexaColorB = "#ffdbedf8";//"#konten";
                Color semiblue = Color.FromArgb(
                          Convert.ToByte(hexaColorB.Substring(1, 2), 16),
                          Convert.ToByte(hexaColorB.Substring(3, 2), 16),
                          Convert.ToByte(hexaColorB.Substring(5, 2), 16),
                          Convert.ToByte(hexaColorB.Substring(7, 2), 16));

                Windows8Colors.PaletteInstance.MainColor = semiblue;

                string hexaColorC = "#ff9ecae7";//"#highlight";
                Color semigrey = Color.FromArgb(
                          Convert.ToByte(hexaColorC.Substring(1, 2), 16),
                          Convert.ToByte(hexaColorC.Substring(3, 2), 16),
                          Convert.ToByte(hexaColorC.Substring(5, 2), 16),
                          Convert.ToByte(hexaColorC.Substring(7, 2), 16));

                Windows8Colors.PaletteInstance.BasicColor = semigrey;

                string hexaColorD = "#ff000000";//"#teksstrong";
                Color semolo = Color.FromArgb(
                          Convert.ToByte(hexaColorD.Substring(1, 2), 16),
                          Convert.ToByte(hexaColorD.Substring(3, 2), 16),
                          Convert.ToByte(hexaColorD.Substring(5, 2), 16),
                          Convert.ToByte(hexaColorD.Substring(7, 2), 16));

                Windows8Colors.PaletteInstance.StrongColor = semolo;

                string hexaColorE = "#ff000000";//"hitam/636363";
                Color semolowaru = Color.FromArgb(
                          Convert.ToByte(hexaColorE.Substring(1, 2), 16),
                          Convert.ToByte(hexaColorE.Substring(3, 2), 16),
                          Convert.ToByte(hexaColorE.Substring(5, 2), 16),
                          Convert.ToByte(hexaColorE.Substring(7, 2), 16));

                Windows8Colors.PaletteInstance.MarkerColor = semolowaru;

                string hexaColorF = "#ff923939";//"validasi";
                Color bunderanwaru = Color.FromArgb(
                          Convert.ToByte(hexaColorF.Substring(1, 2), 16),
                          Convert.ToByte(hexaColorF.Substring(3, 2), 16),
                          Convert.ToByte(hexaColorF.Substring(5, 2), 16),
                          Convert.ToByte(hexaColorF.Substring(7, 2), 16));

                Windows8Colors.PaletteInstance.ValidationColor = bunderanwaru;
                Windows8Colors.PaletteInstance.FontFamily = new FontFamily("Tahoma");
                Windows8Colors.PaletteInstance.FontSize = 10.667;
  10. Rosen Vladimirov
    Admin
    Rosen Vladimirov avatar
    640 posts

    Posted 11 Oct 2013 Link to this post

    Hello Yanwar,

    The project I've sent you before was using Implicit Styles and NoXaml dlls. As you are using StyleManager in your application I assume you are using Xaml Binaries. In this case you have to add the following code in your App.xaml file:
    <ResourceDictionary>
        <ResourceDictionary.MergedDictionaries>
                 <telerik:Windows8ResourceDictionary />
        </ResourceDictionary.MergedDictionaries>
    </ResourceDictionary>

    After that you'll be able to change the resource dynamically. I've modified the project to use this approach and Xaml dlls. Please give it a try and inform us in case you still have problems or concerns.

    Regards,
    Rosen Vladimirov
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
Back to Top
DevCraft banner