Skip to main content

ExcelDataSourceUIHelper.EditDataSource(ExcelDataSource, UserLookAndFeel, IWin32Window, IExcelSchemaProvider) Method

OBSOLETE

This overload is obsolete. Use EditDataSource instead.

Invokes the Excel Data Source Editor with the specified settings.

Namespace: DevExpress.DataAccess.UI.Excel

Assembly: DevExpress.DataAccess.v24.1.UI.dll

NuGet Package: DevExpress.DataAccess.UI

Declaration

[Obsolete("This overload is obsolete. Use EditDataSource(this ExcelDataSource dataSource, EditDataSourceContext context) instead.")]
public static bool EditDataSource(
    this ExcelDataSource dataSource,
    UserLookAndFeel lookAndFeel,
    IWin32Window owner,
    IExcelSchemaProvider excelSchemaProvider
)

Parameters

Name Type Description
dataSource ExcelDataSource

An ExcelDataSource object.

lookAndFeel UserLookAndFeel

A UserLookAndFeel object, specifying the application’s look and feel settings.

owner IWin32Window

An object implementing the IWin32Window interface that is the owner of the current dialog window.

excelSchemaProvider IExcelSchemaProvider

An object implementing the IExcelSchemaProvider interface.

Returns

Type Description
Boolean

true, if the wizard was closed by clicking the Finish button; otherwise, false.

Remarks

The following image illustrates the commands available in the ExcelDataSource smart tag. The EditDataSource method corresponds to the Edit… command.

ExcelDataSource_SmartTag

See Also