SpreadsheetImportOptions.ThrowExceptionOnInvalidDocument Property
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.1.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 ThrowExceptionOnInvalidDocument |
---|---|
SpreadsheetControlOptions |
|
Remarks
The SpreadsheetControl.InvalidFormatException can be thrown if the ThrowExceptionOnInvalidDocument is true.
See Also