ValueFromListBinderTModel, TControl, TValue, TListModel Constructor (TModel, TControl, IListTListModel, ExpressionFuncTModel, TValue, ActionTModel, TValue, FuncTControl, TValue, ActionTControl, TValue) |
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 ValueFromListBinder(
TModel model,
TControl control,
IList<TListModel> list,
Expression<Func<TModel, TValue>> getModelValue,
Action<TModel, TValue> setModelValue,
Func<TControl, TValue> getControlValue,
Action<TControl, TValue> setControlValue
)
Public Sub New (
model As TModel,
control As TControl,
list As IList(Of TListModel),
getModelValue As Expression(Of Func(Of TModel, TValue)),
setModelValue As Action(Of TModel, TValue),
getControlValue As Func(Of TControl, TValue),
setControlValue As Action(Of TControl, TValue)
)
public:
ValueFromListBinder(
TModel model,
TControl control,
IList<TListModel>^ list,
Expression<Func<TModel, TValue>^>^ getModelValue,
Action<TModel, TValue>^ setModelValue,
Func<TControl, TValue>^ getControlValue,
Action<TControl, TValue>^ setControlValue
)
new :
model : 'TModel *
control : 'TControl *
list : IList<'TListModel> *
getModelValue : Expression<Func<'TModel, 'TValue>> *
setModelValue : Action<'TModel, 'TValue> *
getControlValue : Func<'TControl, 'TValue> *
setControlValue : Action<'TControl, 'TValue> -> ValueFromListBinder
Parameters
- model
- Type: TModel
- control
- Type: TControl
- list
- Type: System.Collections.GenericIListTListModel
- getModelValue
- Type: System.Linq.ExpressionsExpressionFuncTModel, TValue
- setModelValue
- Type: SystemActionTModel, TValue
- getControlValue
- Type: SystemFuncTControl, TValue
- setControlValue
- Type: SystemActionTControl, TValue
See Also