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

Namespace: DevExpress.Web.Bootstrap

Assembly: DevExpress.Web.Bootstrap.v19.2.dll

Declaration

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

Parameters

Name Type Description
getter Expression<Func<TCustomViewModel, TField>>
value TField

Returns

Type Description
BootstrapDialogOptionField

Type Parameters

Name Description
TCustomViewModel
TField
See Also