Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Elegant Ribbon Tech Support » Change Theme For Ribbon element Collapse All
Subject Author Date
Alex Pag Nov 24, 2009 - 2:39 AM

   static void Main()


        {

            ProcessDpiAwareSettings.IsProcessDpiAware = true;

            SkinManager.DefaultTheme = EmbeddedTheme.Office2007Black;



            Application.EnableVisualStyles();

            Application.SetCompatibleTextRenderingDefault(false);

            Application.Run(new MainForm());

        }


and after i change theme for my forms and elements like this


  SkinManager.LoadEmbeddedTheme(EmbeddedTheme.Office2007Blue, Product.Common); but the Ribbon elemnt it does not change.


only the moment where it opens the program. What can i do?

Alex Pag Nov 30, 2009 - 12:04 AM

thanks...now it works...))

Technical Support Nov 24, 2009 - 7:07 AM

Find the line

SkinManager.LoadEmbeddedTheme(EmbeddedTheme.Office2007Blue, Product.Common);
and replace Product.Common with Product.Ribbon.