Skip to main content

DataGridView.CustomizeCellDisplayText Event

Allows you to provide a custom display text for any data cell.

Namespace: DevExpress.XamarinForms.DataGrid

Assembly: DevExpress.XamarinForms.Grid.dll

NuGet Package: DevExpress.XamarinForms.Grid

Declaration

public event CustomizeCellDisplayTextEventHandler CustomizeCellDisplayText

Event Data

The CustomizeCellDisplayText event's data class is CustomizeCellDisplayTextEventArgs. The following properties provide information specific to this event:

Property Description
DisplayText Gets or sets the cell display text.
Index Gets the cell location in the grid.
Value Gets the cell value.

Remarks

Use the CustomizeCellDisplayText event to display a custom text within any cell of the grid. The Index parameter allows you to obtain the processed cell. To get the cell’s current display text or replace it with a custom string, use the DisplayText parameter.

See Also