Back to Devexpress

DataGridView.CustomizeCellDisplayText Event

mobilecontrols-devexpress-dot-xamarinforms-dot-datagrid-dot-datagridview-2a66899a.md

latest1.9 KB
Original Source

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

csharp
public event CustomizeCellDisplayTextEventHandler CustomizeCellDisplayText

Event Data

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

PropertyDescription
DisplayTextGets or sets the cell display text.
IndexGets the cell location in the grid.
ValueGets 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

DataGridView Class

DataGridView Members

DevExpress.XamarinForms.DataGrid Namespace