BootstrapDialogLayoutElementCollection<TViewModel>.CreateField<TCustomViewModel, TField>(Expression<Func<TCustomViewModel, TField>>, Action<BootstrapDialogField<TCustomViewModel>>) Method

Namespace: DevExpress.Web.Bootstrap

Assembly: DevExpress.Web.Bootstrap.v20.1.dll

Declaration

public BootstrapDialogField<TCustomViewModel> CreateField<TCustomViewModel, TField>(
    Expression<Func<TCustomViewModel, TField>> getter,
    Action<BootstrapDialogField<TCustomViewModel>> setup
)
    where TCustomViewModel : TViewModel
Public Function CreateField(Of TCustomViewModel As TViewModel, TField)(
    getter As Expression(Of Func(Of TCustomViewModel, TField)),
    setup As Action(Of BootstrapDialogField(Of TCustomViewModel))
) As BootstrapDialogField(Of TCustomViewModel)

Parameters

Name Type
getter Expression<Func<TCustomViewModel, TField>>
setup Action<BootstrapDialogField<TCustomViewModel>>

Type Parameters

Name
TCustomViewModel
TField

Returns

Type
BootstrapDialogField<TCustomViewModel>
See Also