Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+
Row

SpreadsheetBeforeImportEventArgs.DocumentFormat Property

Gets the format of the document being imported.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v19.1.Core.dll

Declaration

public DocumentFormat DocumentFormat { get; }

Property Value

Type Description
DocumentFormat

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

Remarks

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.

Note

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