CheckBoxBoolBinderTModel 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 CheckBoxBoolBinder(
TModel model,
CheckBox control,
Expression<Func<TModel, bool>> getModelValue,
Action<TModel, bool> setModelValue
)
Public Sub New (
model As TModel,
control As CheckBox,
getModelValue As Expression(Of Func(Of TModel, Boolean)),
setModelValue As Action(Of TModel, Boolean)
)
public:
CheckBoxBoolBinder(
TModel model,
CheckBox^ control,
Expression<Func<TModel, bool>^>^ getModelValue,
Action<TModel, bool>^ setModelValue
)
new :
model : 'TModel *
control : CheckBox *
getModelValue : Expression<Func<'TModel, bool>> *
setModelValue : Action<'TModel, bool> -> CheckBoxBoolBinder
Parameters
- model
- Type: TModel
- control
- Type: System.Windows.FormsCheckBox
- getModelValue
- Type: System.Linq.ExpressionsExpressionFuncTModel, Boolean
- setModelValue
- Type: SystemActionTModel, Boolean
See Also