Professional UI Solutions
Site Map   /  Register
 
 
 

Visual Themes

What themes are supported in Elegant Grid?

You can use the following themes:

  • Office 2013 AzureWhite
  • Office 2013 AzureLightGrey
  • Office 2013 AzureDarkGrey
  • Office 2013 GreenWhite
  • Office 2013 GreenLightGrey
  • Office 2013 GreenDarkGrey
  • Office 2013 OrangeWhite
  • Office 2013 OrangeLightGrey
  • Office 2013 OrangeDarkGrey
  • Office 2013 RedWhite
  • Office 2013 RedLightGrey
  • Office 2013 RedDarkGrey
  • Office 2010 Blue
  • Office 2010 Black
  • Office 2010 Silver
  • Office 2010 TP (Technical Preview)
  • Windows 7
  • System
  • Office 2007 Blue
  • Office 2007 Black
  • Office 2007 Silver

How to load a visual theme?

Be default, Elegant Grid uses the Office 2010 Blue theme. You can change the default theme in the Main method of the application:

[C#]

static void Main()
{
   . . .
   SkinManager.DefaultTheme = EmbeddedTheme.Office2010TP; // can be any other theme
   . . .
   Application.Run(new MainForm());
}

[VB.NET]

Shared Sub Main(ByVal args As String())
   . . .
   SkinManager.DefaultTheme = EmbeddedTheme.Office2010TP  ' can be any other theme
   . . .
   CType(New Program(), Program).Run(args)
   . . .
End Sub

At runtime you can change visual themes using the SkinManager.LoadEmbeddedTheme method. For example, if you want to load the Office 2010 Black theme, use the following code:

[C#]

SkinManager.LoadEmbeddedTheme(EmbeddedTheme.Office2010Black,  Product.Grid);

[VB.NET]

SkinManager.LoadEmbeddedTheme(EmbeddedTheme.Office2010Black,  Product.Grid)

What visual styles are supported by the System theme?

The System theme allows your application to have a visual style provided by the operating system on which it is running. The supported visual styles include those available on Windows OSes starting from Windows 2000 including Windows 7. Please note that custom theme colorizations are also supported, which means that any customizations to the system theme are applied to the System visual theme automatically.


If you have any questions, please visit our forum or contact our technical support team at support@prof-uis.com.