Click or drag to resize

DelegateBindingT, TValue Constructor (FuncT, TValue, ActionT, TValue, String, TValue, TValue)

Namespace:  Eto.Forms
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public DelegateBinding(
	Func<T, TValue> getValue,
	Action<T, TValue> setValue,
	string notifyProperty,
	TValue defaultGetValue = null,
	TValue defaultSetValue = null
)

Parameters

getValue
Type: SystemFuncT, TValue
Delegate to get the value for the binding.
setValue
Type: SystemActionT, TValue
Delegate to set the value for the binding.
notifyProperty
Type: SystemString
Name of the property to listen for change events of this binding.
defaultGetValue (Optional)
Type: TValue
Default get value, when the object instance is null.
defaultSetValue (Optional)
Type: TValue
Default set value, when the incoming value is null.
See Also