Skip to main content

CustomizeCellEventArgs.ForeColor Property

Gets or sets the color used to paint the cell value.

Namespace: DevExpress.Mobile.DataGrid

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

Declaration

public Color ForeColor { get; set; }

Property Value

Type Description
Xamarin.Forms.Color

A Xamarin.Forms.Color object specifying the cell foreground 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.

Example

This example demonstrates how to customize the appearance of cells in the specified grid column depending on cell values by handling the GridControl.CustomizeCell event.

The image below illustrates the result.

GridControl_CustomizeCell_iOS

GridControl_CustomizeCell_Android

See Also