.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
Row

CellValue.TextValue Property

Returns a string contained in a cell.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v20.1.Core.dll

Declaration

public string TextValue { get; }
Public ReadOnly Property TextValue As String

Property Value

Type Description
String

A String value specifying the text value of a cell.

Remarks

Use the TextValue property to obtain the text value contained in a cell. To check whether the cell value is of the text type, use the CellValue.IsText or CellValue.Type property. If a cell value type is other than text, the TextValue property returns null (Nothing in VB). To get a string that specifies a cell value of any type as it is displayed in the cell, use the Cell.DisplayText property.

For more information on cell values, refer to the Cell Data Types document.

See Also