IGridControlCustomizer.BackgroundColor Property

Specifies the GridControl's background color.

Namespace: DevExpress.Mobile.DataGrid.Theme

Assembly: DevExpress.Mobile.Grid.v18.2.dll

Declaration

Color BackgroundColor { get; set; }
Property BackgroundColor As Color

Property Value

Type Description
Xamarin.Forms.Color

A Xamarin.Forms.Color object specifying the background color.

Remarks

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.

The BackgroundColor property's value is used to fill the empty area (if any) that is not occupied by grid rows.

GridControl provides you with two predefined themes - Light and Dark. The Default theme depends on the mobile platform. For iOS applications, the Default theme is Light, for Android - is Dark. To apply another theme to a grid, use the ThemeManager.ThemeName property. Then, you can customize the applied theme (if needed). For more information, see the How to: Customize Themes document.

IMPORTANT

To apply customization to a grid, call the ThemeManager.RefreshTheme method.

See Also