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