NumericIntBinderTModel 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 NumericIntBinder(
TModel model,
NumericUpDown control,
Expression<Func<TModel, int>> getModelValue,
Action<TModel, int> setModelValue
)
Public Sub New (
model As TModel,
control As NumericUpDown,
getModelValue As Expression(Of Func(Of TModel, Integer)),
setModelValue As Action(Of TModel, Integer)
)
public:
NumericIntBinder(
TModel model,
NumericUpDown^ control,
Expression<Func<TModel, int>^>^ getModelValue,
Action<TModel, int>^ setModelValue
)
new :
model : 'TModel *
control : NumericUpDown *
getModelValue : Expression<Func<'TModel, int>> *
setModelValue : Action<'TModel, int> -> NumericIntBinder
Parameters
- model
- Type: TModel
- control
- Type: System.Windows.FormsNumericUpDown
- getModelValue
- Type: System.Linq.ExpressionsExpressionFuncTModel, Int32
- setModelValue
- Type: SystemActionTModel, Int32
See Also