Back to Devexpress

IgnoredError Interface

officefileapi-devexpress-dot-spreadsheet-74f6ffd2.md

latest1.8 KB
Original Source

IgnoredError Interface

Specifies a worksheet range and a type of the formula error which will be ignored in that range.

Namespace : DevExpress.Spreadsheet

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

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
public interface IgnoredError
vb
Public Interface IgnoredError

The following members return IgnoredError objects:

Remarks

The IgnoredError object specifies an error-checking option and a worksheet range in which this option is disabled. Objects of the IgnoredError type are contained within the IgnoredErrorCollection collection accessible using the Worksheet.IgnoredErrors property.

The following code snippet disables checking empty cell references in cell A1.

csharp
worksheet.IgnoredErrors.Add(worksheet["A1"], IgnoredErrorType.EmptyCellReferences);
vb
worksheet.IgnoredErrors.Add(worksheet("A1"), IgnoredErrorType.EmptyCellReferences)

See Also

IgnoredError Members

DevExpress.Spreadsheet Namespace