ValueBinderTModel, TControl, TValue Constructor (TModel, TControl, 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 ValueBinder(
TModel model,
TControl control,
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,
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:
ValueBinder(
TModel model,
TControl control,
Expression<Func<TModel, TValue>^>^ getModelValue,
Action<TModel, TValue>^ setModelValue,
Func<TControl, TValue>^ getControlValue,
Action<TControl, TValue>^ setControlValue
)
new :
model : 'TModel *
control : 'TControl *
getModelValue : Expression<Func<'TModel, 'TValue>> *
setModelValue : Action<'TModel, 'TValue> *
getControlValue : Func<'TControl, 'TValue> *
setControlValue : Action<'TControl, 'TValue> -> ValueBinder
Parameters
- model
- Type: TModel
- control
- Type: TControl
- getModelValue
- Type: System.Linq.ExpressionsExpressionFuncTModel, TValue
- setModelValue
- Type: SystemActionTModel, TValue
- getControlValue
- Type: SystemFuncTControl, TValue
- setControlValue
- Type: SystemActionTControl, TValue
See Also