ObjectDataSourceUIHelper.EditConstructor<TModel>(ObjectDataSource, EditConstructorContext, Action<IWizardCustomization<TModel>>) Method

Invokes the Configure Constructor Settings dialog with the specified settings.

Namespace: DevExpress.DataAccess.UI.ObjectBinding

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

Declaration

public static bool EditConstructor<TModel>(
    this ObjectDataSource objectDataSource,
    EditConstructorContext context,
    Action<IWizardCustomization<TModel>> customizeWizard
)
    where TModel : class, IObjectDataSourceModel, new()
<ExtensionAttribute>
Public Shared Function EditConstructor(Of TModel As {Class, IObjectDataSourceModel, New})(
    objectDataSource As ObjectDataSource,
    context As EditConstructorContext,
    customizeWizard As Action(Of IWizardCustomization(Of TModel))
) As Boolean

Parameters

Name Type Description
objectDataSource ObjectDataSource

An ObjectDataSource.

context EditConstructorContext

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