ExcelDataSourceUIHelper.EditDataSource<TModel>(ExcelDataSource, EditDataSourceContext, Action<IWizardCustomization<TModel>>) Method
Invokes the Excel Data Source Editor with the specified settings.
Namespace: DevExpress.DataAccess.UI.Excel
Assembly: DevExpress.DataAccess.v24.2.UI.dll
Declaration
public static bool EditDataSource<TModel>(
this ExcelDataSource dataSource,
EditDataSourceContext context,
Action<IWizardCustomization<TModel>> customizeWizard
)
where TModel : class, IExcelDataSourceModel, new()
Parameters
Name | Type | Description |
---|---|---|
dataSource | ExcelDataSource | An ExcelDataSource object. |
context | EditDataSourceContext | An EditDataSourceContext object. |
customizeWizard | Action<IWizardCustomization<TModel>> | A Action delegate of an object implementing the IWizardCustomization<TModel> interface. |
Type Parameters
Name |
---|
TModel |
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<TModel> method corresponds to the Edit… command.
See Also