Version

Theme Property (RibbonWindowContentHost)

Gets/sets the default look for the control.
Syntax
'Declaration
 
Public Property Theme As String
public string Theme {get; set;}
Remarks

If left set to null then the default 'Generic' theme will be used. This property can be set to the name of any registered theme (see Infragistics.Windows.Themes.ThemeManager.Register(System.String,System.String,System.Windows.ResourceDictionary) and Infragistics.Windows.Themes.ThemeManager.GetThemes methods).

The following themes are pre-registered by this assembly but additional themes can be registered as well.

  • "Aero" - a theme that is compatible with Vista's 'Aero' theme.
  • "Generic" - the default theme.
  • "IGTheme" - a theme with a modern look.
  • "LunaNormal" - a theme that is compatible with XP's 'blue' theme.
  • "LunaOlive" - a theme that is compatible with XP's 'olive' theme.
  • "LunaSilver" - a theme that is compatible with XP's 'silver' theme.
  • "Metro" - a modern theme whose elements are larger.
  • "MetroDark" - a modern theme whose elements are larger with a darker look.
  • "Office2010Blue" - a theme that is compatible with MS Office 2010's 'Blue' theme.
  • "Office2013" - a theme that is compatible with MS Office 2013.
  • "Office2k7Black" - a theme that is compatible with MS Office 2007's 'Black' theme.
  • "Office2k7Blue" - a theme that is compatible with MS Office 2007's 'Blue' theme.
  • "Office2k7Silver" - a theme that is compatible with MS Office 2007's 'Silver' theme.
  • "Onyx" - a theme that features black and orange highlights.
  • "PrintBasic" - a theme with simpler black, white and gray elements.
  • "Royale" - a theme that features subtle blue highlights.
  • "RoyaleStrong" - a theme that features strong blue highlights.
  • "Scenic" - a theme that emulates the Windows 7 Scenic Ribbon.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also