Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

Themes and Templates

In This Article

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

#Themes

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

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

See Also