Skip to main content

ObjectDataSourceUIHelper.EditDataMember<TModel>(ObjectDataSource, EditDataMemberContext, Action<IWizardCustomization<TModel>>) Method

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

Namespace: DevExpress.DataAccess.UI.ObjectBinding

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

NuGet Package: DevExpress.DataAccess.UI

Declaration

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

Parameters

Name Type Description
objectDataSource ObjectDataSource

An ObjectDataSource.

context EditDataMemberContext

An EditDataMemberContext 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