OfficeIMO

API Reference

Enum

WorksheetValidationMode

Namespace OfficeIMO.Excel
Assembly OfficeIMO.Excel
Base Enum
Implements
IComparable ISpanFormattable IFormattable IConvertible
Modifiers sealed

Controls when worksheet mutations perform structural validation.

Inheritance

  • Enum
  • WorksheetValidationMode

Values

public const WorksheetValidationMode Disabled #

No validation is performed after write operations.

Value: 0
public const WorksheetValidationMode DiagnosticsOnly #

Run validation only when diagnostics are requested via callbacks or explicit opt-in.

Value: 1
public const WorksheetValidationMode DebugOnly #

Run lightweight validation in all builds and enable full Open XML validation in Debug builds only.

Value: 2
public const WorksheetValidationMode Always #

Always run structural validation regardless of diagnostics configuration.

Value: 3