Skip to main content

Themes Overview

Themes determine the color scheme and default visual cues applied to the elements in a grid and, in the case of multi-surface themes, how and where the regions supported by a surface configuration are displayed.

Themes can be set using attribute syntax or property element syntax through a view's Theme property (see Examples 1 and 2 in Views and Themes Overview). If a theme is not specified, the system-color theme will be used. In either case, if the system-color theme is not recognized (e.g., a third-party color scheme is being used), the Aero normal-color theme will be used.

note

The Elemental Black theme will be used in the case where the Theme property of a mult-surface view is not set.

To change the view and theme using attribute syntax or property element syntax, the name of the view and (optionally) theme to use must be set (see Table 1).

Table 1: System-theme syntaxes

ThemeColor schemeAttribute syntaxProperty element syntaxTarget views
AeroNormal[View.]Aero.NormalColor [View.]AeroNormalColorThemeAeroNormalColorThemeTableflowView and TableView CardView and CompactCardView TreeGridflowView
LunaNormal[View.]Luna.NormalColor [View.]LunaNormalColorThemeLunaNormalColorThemeTableflowView and TableView CardView and CompactCardView TreeGridflowView
LunaMetallic[View.]Luna.Metallic [View.]LunaMetallicThemeLunaMetallicThemeTableflowView and TableView CardView and CompactCardView TreeGridflowView
LunaHomestead[View.]Luna.Homestead [View.]LunaHomesteadThemeLunaHomesteadThemeTableflowView and TableView CardView and CompactCardView TreeGridflowView
RoyaleNormal[View.]Royale.NormalColor [View.]RoyaleNormalColorThemeRoyaleNormalColorThemeTableflowView and TableView CardView and CompactCardView
ClassicSystem[View.]Classic.SystemColor [View.]ClassicSystemColorThemeClassicSystemColorThemeTableflowView and TableView CardView and CompactCardView TreeGridflowView
ZuneNormal[View.]Zune.NormalColor [View.]ZuneNormalColorThemeZuneNormalColorThemeTableflowView and TableView CardView and CompactCardView
Windows7ThemeNormal[View.]Windows7 [View.]Windows7ThemeWindows7ThemeTableflowView and TableView CardView and CompactCardView
Windows8ThemeNormal[View.]Windows8 [View.]Windows8ThemeWindows8ThemeTableflowView and TableView TreeGridflowView

Table 2: Multi-surface themes

ThemeColor schemeAttribute syntaxProperty element syntaxTarget viewsAssembly
ElementalBlack[View.]Elemental.Black [View.]ElementalBlackThemeElementalBlackThemeCardflowView3DXceed.Wpf.DataGrid.Views3D
ElementalBlue[View.]Elemental.Blue [View.]ElementalBlueThemeElementalBlueThemeCardflowView3DXceed.Wpf.DataGrid.Views3D
ElementalSilver[View.]Elemental.Silver [View.]ElementalSilverThemeElementalSilverThemeCardflowView3DXceed.Wpf.DataGrid.Views3D
Chameleon[View.]Chameleon [View.]ChameleonThemeChameleonThemeCardflowView3DXceed.Wpf.DataGrid.Views3D

Theme Packs

"Theme Packs" contain additional non-system themes have been added to Xceed DataGrid for WPF (see Table 3). The theme-pack assemblies(Xceed.Wpf.DataGrid.ThemePack.[#].dll) must be included in your references in order to use the themes they provide.

Table 3: Theme-pack theme syntaxes

ThemeColor schemeAttribute syntaxProperty element syntaxTarget viewsAssembly
Office 2007Blue[View.]Office2007.Blue [View.]Office2007BlueThemeOffice2007BlueThemeTableflowView TableView CardView CompactCardViewXceed.Wpf.DataGrid.ThemePack.1
Office 2007Black[View.]Office2007.Black [View.]Office2007BlackThemeOffice2007BlackThemeTableflowView TableView CardView CompactCardViewXceed.Wpf.DataGrid.ThemePack.1
Office 2007Silver[View.]Office2007.Silver [View.]Office2007SilverThemeOffice2007SilverThemeTableflowView TableView CardView CompactCardViewXceed.Wpf.DataGrid.ThemePack.1
WindowsMedia Player 11[View.]WMP11 [View.]WMP11ThemeWMP11ThemeTableflowView TableView CardView CompactCardView TreeGridflowViewXceed.Wpf.DataGrid.ThemePack.1
Glass[View.]Glass [View.]GlassThemeGlassThemeTableView CardView CompactCardViewXceed.Wpf.DataGrid.ThemePack.2
LiveExplorerTheme[View.]LiveExplorer [View.]LiveExplorerThemeLiveExplorerThemeTableflow TableView CardView CompactCardView TreeGridflowViewXceed.Wpf.DataGrid.ThemePack.3
Metro (Modern Application theme)[View.]MetroLight [View.]MetroLightTheme [View.]MetroDark [View.]MetroDarkThemeMetroTheme LiveExplorerThemeTableflowView TableViewXceed.Wpf.DataGrid.ThemePack.4
Windows10[View.]Windows10 [View.]Windows10ThemeWindows10ThemeTableflowView TableView TreeGridflowViewXceed.Wpf.DataGrid.ThemePack.5
MaterialDesign[View.]MaterialDesignLight [View.]MaterialDesignLightTheme [View.]MaterialDesignDark [View.]MaterialDesignDarkThemeMaterialDesignThemeTableflowView TableView CardView CompactCardView TreeGridflowViewXceed.Wpf.DataGrid.ThemePack.6
FluentDesign[View.]FluentDesignLight [View.]FluentDesignLightTheme [View.]FluentDesignDark [View.]FluentDesignDarkThemeFluentDesignThemeTableflowView TableView TreeGridflowViewXceed.Wpf.DataGrid.ThemePack.7