Skip to main content

ExcelDataSourceUIHelper.EditDataSource(ExcelDataSource, EditDataSourceContext) Method

Invokes the Excel Data Source Editor with the specified settings.

Namespace: DevExpress.DataAccess.UI.Excel

Assembly: DevExpress.DataAccess.v23.2.UI.dll

NuGet Package: DevExpress.DataAccess.UI

Declaration

public static bool EditDataSource(
    this ExcelDataSource dataSource,
    EditDataSourceContext context
)

Parameters

Name Type Description
dataSource ExcelDataSource

An ExcelDataSource object.

context EditDataSourceContext

An EditDataSourceContext object.

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