ComboBoxBinderTModel, TListModel, TValue Constructor |
Creates a new object.
Namespace: VirtualRadar.WinForms.PortableBindingAssembly: VirtualRadar.WinForms (in VirtualRadar.WinForms.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public ComboBoxBinder(
TModel model,
ComboBox control,
IList<TListModel> list,
Expression<Func<TModel, TValue>> getModelValue,
Action<TModel, TValue> setModelValue
)
Public Sub New (
model As TModel,
control As ComboBox,
list As IList(Of TListModel),
getModelValue As Expression(Of Func(Of TModel, TValue)),
setModelValue As Action(Of TModel, TValue)
)
public:
ComboBoxBinder(
TModel model,
ComboBox^ control,
IList<TListModel>^ list,
Expression<Func<TModel, TValue>^>^ getModelValue,
Action<TModel, TValue>^ setModelValue
)
new :
model : 'TModel *
control : ComboBox *
list : IList<'TListModel> *
getModelValue : Expression<Func<'TModel, 'TValue>> *
setModelValue : Action<'TModel, 'TValue> -> ComboBoxBinder
Parameters
- model
- Type: TModel
- control
- Type: System.Windows.FormsComboBox
- list
- Type: System.Collections.GenericIListTListModel
- getModelValue
- Type: System.Linq.ExpressionsExpressionFuncTModel, TValue
- setModelValue
- Type: SystemActionTModel, TValue
See Also