Skip to main content

CellData.DisplayText Property

Gets or sets a string that specifies the formatted cell value as it is displayed.

Namespace: DevExpress.Mobile.DataGrid

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

Declaration

public string DisplayText { get; set; }

Property Value

Type Description
String

A string that specifies the cell’s display text.

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.

Initially, the DisplayText property contains text currently displayed in a cell - the cell’s value (CellData.Value) to which the column format (GridColumn.DisplayFormat) is applied. To provide a custom text to be displayed in a cell, assign it to the DisplayText property.

See Also