Skip to main content
.NET Framework 4.5.2+
Row

CellValue.IsError Property

Gets whether the cell contains an error.

Namespace: DevExpress.Spreadsheet

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

Declaration

public bool IsError { get; }

Property Value

Type Description
Boolean

true, if the cell value is of the error type; otherwise, false

Remarks

You can also use the CellValue.Type property to obtain the cell value type. This property returns CellValueType.Error, if a cell value is an error.

To get the error value contained in a cell, use the CellValue.ErrorValue property. For more information on cell values, refer to the Cell Data Types document.

The following code snippets (auto-collected from DevExpress Examples) contain references to the IsError property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also