SpreadsheetImportOptions.ThrowExceptionOnInvalidDocument Property
In This Article
Specifies whether an exception should be thrown when importing an invalid workbook. This is a dependency property.
Namespace: DevExpress.Xpf.Spreadsheet
Assembly: DevExpress.Xpf.Spreadsheet.v24.2.dll
NuGet Package: DevExpress.Wpf.Spreadsheet
#Declaration
#Property Value
Type | Description |
---|---|
Boolean | true, if an exception is thrown when importing an invalid document; otherwise, false. |
#Property Paths
You can access this nested property as listed below:
Object Type | Path to Throw |
---|---|
Spreadsheet |
|
#Remarks
The SpreadsheetControl.InvalidFormatException can be thrown if the ThrowExceptionOnInvalidDocument is true.
See Also