- 2 minutes to read
DevExpress provides the Light and Dark built-in themes that you can apply to GridControl to change its appearance.
(Default for iOS)
(Default for Android)
Apply Predefined Theme
using Xamarin.Forms; using DevExpress.Mobile.DataGrid.Theme; // ... ThemeManager.ThemeName = Themes.Dark; // ...
Customize Applied Theme
To customize the applied theme, use the ThemeBase class. It provides you with various customizers that allow you to change a theme's appearance and apply it to the grid. You can use these customizers to change background colors, fonts and others attributes of the desired grid element (header, group row and so on). For more information, see the How to: Customize Themes document.
To apply the customization, call the ThemeManager.RefreshTheme method.