Skip to main content

How to: Apply Themes

Important

This documentation topic describes legacy technology. We no longer develop new functionality for the GridControl and suggest that you use the new DataGridView control instead.

DevExpress provides the Light and Dark built-in themes that you can apply to a GridControl to change its appearance.

The code below is an example of how to apply the Dark theme using the ThemeManager class.

using Xamarin.Forms;
using DevExpress.Mobile.DataGrid.Theme;

// ...
ThemeManager.ThemeName = Themes.Dark;

After you apply desired theme to the GridControl, you can customize the theme’s appearance via its customizers (if needed). For more information, see the How to: Customize Themes example.