Xceed Toolkit Plus for WPF v5.0 Documentation
Welcome to Xceed Toolkit Plus for WPF v5.0 / DataGrid, ListBox, Chart, AvalonDock, and PropertyGrid / Datagrid control / Fundamentals / Views and Themes / Themes Overview
In This Topic
    Themes Overview
    In This Topic
    Prerequisite Knowledge
    DataGrid Fundamentals: Views and Themes Overview

    Themes determine the color palette and default visual cues applied to the elements in a grid.

    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 palette is being used), the Aero normal-color theme will be used.
    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

    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

    Office2007 Themes

    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