.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

SpreadsheetBeforeImportEventArgs.DocumentFormat Property

Gets the format of the document being imported.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v21.2.Core.dll


public DocumentFormat DocumentFormat { get; }

Property Value

Type Description

A DocumentFormat enumeration member that is the format of the imported document.


Handle the SpreadsheetControl.BeforeImport event and use the DocumentFormat property to determine the format of the source document.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the DocumentFormat property.


The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also