BootstrapDialogLayoutElementCollection<TViewModel>.CreateOptionField<TCustomViewModel, TField>(Expression<Func<TCustomViewModel, TField>>, TField) 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
)
    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
getter Expression<Func<TCustomViewModel, TField>>
value TField

Type Parameters

Name
TCustomViewModel
TField

Returns

Type
BootstrapDialogOptionField
See Also