BootstrapDialogLayoutElementCollection<TViewModel>.CreateOptionField<TCustomViewModel, TField>(Expression<Func<TCustomViewModel, TField>>, TField, Action<BootstrapDialogOptionField>) Method

Namespace: DevExpress.Web.Bootstrap

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

Declaration

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

Parameters

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

Type Parameters

Name
TCustomViewModel
TField

Returns

Type
BootstrapDialogOptionField
See Also