TextBoxStringBinderTModel 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 TextBoxStringBinder(
TModel model,
TextBox control,
Expression<Func<TModel, string>> getModelValue,
Action<TModel, string> setModelValue
)
Public Sub New (
model As TModel,
control As TextBox,
getModelValue As Expression(Of Func(Of TModel, String)),
setModelValue As Action(Of TModel, String)
)
public:
TextBoxStringBinder(
TModel model,
TextBox^ control,
Expression<Func<TModel, String^>^>^ getModelValue,
Action<TModel, String^>^ setModelValue
)
new :
model : 'TModel *
control : TextBox *
getModelValue : Expression<Func<'TModel, string>> *
setModelValue : Action<'TModel, string> -> TextBoxStringBinder
Parameters
- model
- Type: TModel
- control
- Type: System.Windows.FormsTextBox
- getModelValue
- Type: System.Linq.ExpressionsExpressionFuncTModel, String
- setModelValue
- Type: SystemActionTModel, String
See Also