Log In
[Expand]General Information
[Expand]WinForms Controls
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Collapse]WPF Controls
 [Expand]What's Installed
 [Expand]Common Concepts
 [Collapse]Controls and Libraries
  [Expand]Windows and Utility Controls
   Dialogs, Notifications and Panels
  [Expand]Data Grid
  [Expand]Ribbon, Bars and Menu
  [Expand]Charts Suite
  [Expand]Pivot Grid
  [Expand]Scheduler (new)
    Product Structure
   [Expand]Getting Started
   [Expand]Spreadsheet Document
    Supported Formats
   [Expand]Cell Basics
    Defined Names
    Data Binding
    Data Validation
   [Expand]Data Presentation
   [Expand]Pivot Table Overview
    Find and Replace
   [Expand]Visual Elements
    Themes and Templates
  [Expand]Rich Text Editor
  [Expand]Tree List
  [Expand]Gauge Controls
  [Expand]Map Control
  [Expand]Layout Management
  [Expand]Windows Modern UI
  [Expand]Data Editors
  [Expand]Navigation Controls
  [Expand]Spell Checker
  [Expand]Property Grid
  [Expand]PDF Viewer
  [Expand]TreeMap Control
  [Expand]Diagram Control
  Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Document Server
[Expand]Report Server
[Expand]eXpressApp Framework
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Themes and Templates

The SpreadsheetControl allows you to customize the appearance of its elements using themes and templates. A theme uses a styling and theming mechanism exposed by WPF that provides you with centralized control over the appearance of the entire application. A template can provide a completely different look and feel for Spreadsheet visual elements (cells).

Expanded Themes

The Spreadsheet control supports standard DevExpress theming. The DevExpress WPF Themes document lists the available themes and contains a XAML sample that illustrates how to apply a desired theme.

Expanded Templates

Use the SpreadsheetControl.CellTemplate property to specify a template for worksheet cells in the WPF SpreadsheetControl.

You can also select different templates for different cells based on custom logic. Use the SpreadsheetControl.CellTemplateSelector property to specify a template selector - a class that chooses a template if a required condition is met.

Expanded See Also

How would you rate this topic?​​​​​​​