Skip to main content

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

ObjectDataSourceUIHelper.EditDataSource<TModel>(ObjectDataSource, EditDataSourceContext, Action<IWizardCustomization<TModel>>) Method

Invokes a dialog that enables you to edit the settings of an object data source.

Namespace: DevExpress.DataAccess.UI.ObjectBinding

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

NuGet Package: DevExpress.DataAccess.UI

#Declaration

public static bool EditDataSource<TModel>(
    this ObjectDataSource objectDataSource,
    EditDataSourceContext context,
    Action<IWizardCustomization<TModel>> customizeWizard
)
    where TModel : class, IObjectDataSourceModel, new()

#Parameters

Name Type Description
objectDataSource ObjectDataSource

An ObjectDataSource.

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 dialog was closed by clicking the Finish button; otherwise, false.

See Also