Version

ValidateFormatStrings Property

Gets or sets the value indicating whether the format strings should be validated when they are set.
Syntax
public bool ValidateFormatStrings {get; set;}
Remarks

This value is False by default to maintain backward compatibility.

When True, format strings will be validated when a IWorksheetCellFormat.FormatString property is set. An invalid format string will cause an exception. When False, invalid format strings will be allowed, but if the display text of a cell is requested, an exception will be thrown at that time. If invalid format strings are allowed and the workbook is saved and opened in Microsoft Excel, it will show an error.

Requirements

Target Platforms: Android 4.4+, iOS 8+

Development Environments: Visual Studio 2015+, Visual Studio for Mac Preview, Xamarin for Visual Studio 4.2+

See Also