ValueBinderTModel, TControl, TValue Constructor (TModel, TControl, ExpressionFuncTModel, TValue, ActionTModel, 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
)
Public Sub New (
model As TModel,
control As TControl,
getModelValue As Expression(Of Func(Of TModel, TValue)),
setModelValue As Action(Of TModel, TValue)
)
public:
ValueBinder(
TModel model,
TControl control,
Expression<Func<TModel, TValue>^>^ getModelValue,
Action<TModel, TValue>^ setModelValue
)
new :
model : 'TModel *
control : 'TControl *
getModelValue : Expression<Func<'TModel, 'TValue>> *
setModelValue : Action<'TModel, 'TValue> -> ValueBinder
Parameters
- model
- Type: TModel
- control
- Type: TControl
- getModelValue
- Type: System.Linq.ExpressionsExpressionFuncTModel, TValue
- setModelValue
- Type: SystemActionTModel, TValue
See Also