Version

Theme Property (DataPresenterBase)

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).

Note: 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.
  • "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.
  • "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.
  • "Royale" - a theme that features subtle blue highlights.
  • "RoyaleStrong" - a theme that features strong blue highlights.

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