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

ErrorValueInfo.Type Property

Gets the type of the error that occurred in the cell.

Namespace: DevExpress.Spreadsheet

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

Declaration

ErrorType Type { get; }

Property Value

Type Description
ErrorType

An ErrorType enumeration member that specifies the error type.

Remarks

If a cell contains a formula that cannot be calculated correctly, this cell displays an error. In this case, the cell value's CellValue.IsError property returns true and the CellValue.ErrorValue property returns the ErrorValueInfo object that provides information on the error that occurred in the cell. The Type property gets the error type, the ErrorValueInfo.Name property gets the error name (error code) that is displayed in the cell, and the ErrorValueInfo.Description property gets the description of the error's cause.

The Error Types document provides the full list of all possible errors that can occur in cell formulas.

See Also