Prerequisite Knowledge DataGrid Fundamentals: Views and Themes Overview |
Themes determine the color palette and default visual cues applied to the elements in a grid.
Table 1: System-theme syntaxes
Theme | color palette | Attribute syntax | Property element syntax | Target views |
---|---|---|---|---|
Aero | Normal | [View.]Aero.NormalColor [View.]AeroNormalColorTheme |
AeroNormalColorTheme | TableView |
Luna | Normal | [View.]Luna.NormalColor [View.]LunaNormalColorTheme |
LunaNormalColorTheme | TableView |
Luna | Metallic | [View.]Luna.Metallic [View.]LunaMetallicTheme |
LunaMetallicTheme | TableView |
Luna | Homestead | [View.]Luna.Homestead [View.]LunaHomesteadTheme |
LunaHomesteadTheme | TableView |
Royale | Normal | [View.]Royale.NormalColor [View.]RoyaleNormalColorTheme |
RoyaleNormalColorTheme | TableView |
Classic | System | [View.]Classic.SystemColor [View.]ClassicSystemColorTheme |
ClassicSystemColorTheme | TableView |
Zune | Normal | [View.]Zune.NormalColor [View.]ZuneNormalColorTheme |
ZuneNormalColorTheme | TableView |
Windows7Theme | Normal | [View.]Windows7 [View.]Windows7Theme |
Windows7Theme | TableflowView and TableView |
Windows8Theme | Normal | [View.]Windows8 [View.]Windows8Theme |
Windows8Theme | TableflowView and TableView |
Office 2007 themes are provided in the Xceed.Wpf.DataGrid.Office2007 assembly.
Table 3: Office 2007 theme syntaxes
Theme | color palette | Attribute syntax | Property element syntax | Target views | Assembly |
---|---|---|---|---|---|
Office 2007 | Blue | [View.]Office2007.Blue [View.]Office2007BlueTheme |
Office2007BlueTheme | TableView | Xceed.Wpf.DataGrid.Office2007 |
Office 2007 | Black | [View.]Office2007.Black [View.]Office2007BlackTheme |
Office2007BlackTheme | TableView | Xceed.Wpf.DataGrid.Office2007 |
Office 2007 | Silver | [View.]Office2007.Silver [View.]Office2007SilverTheme |
Office2007SilverTheme | TableView | Xceed.Wpf.DataGrid.Office2007 |