Skip to main content
Row

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

SpreadsheetBeforeImportEventArgs(DocumentFormat, IImporterOptions) Constructor

Initializes a new instance of the SpreadsheetBeforeImportEventArgs class with the specified settings.

Namespace: DevExpress.Spreadsheet

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

NuGet Package: DevExpress.Spreadsheet.Core

#Declaration

public SpreadsheetBeforeImportEventArgs(
    DocumentFormat documentFormat,
    IImporterOptions options
)

#Parameters

Name Type Description
documentFormat DocumentFormat

A DocumentFormat enumeration member specifying the format of the document that will be imported.

options IImporterOptions

An IImporterOptions object containing import options.

#Remarks

The SpreadsheetBeforeImportEventArgs is created automatically and passed to the handler of the SpreadsheetControl.BeforeImport event.

See Also