Version

ErrorStyle Property

Gets or sets the value which indicates whether the value is allowed when it is invalid and which options are given to the user in the error dialog shown by Microsoft Excel.
Syntax
public DataValidationErrorStyle ErrorStyle {get; set;}
Exceptions
ExceptionDescription
System.ComponentModel.InvalidEnumArgumentExceptionOccurs when the value is not a member of the DataValidationErrorStyle enumeration.
Remarks

This value is only used when ShowErrorMessageForInvalidValue is True.

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