Click or drag to resize

DelegateBindingTValue Constructor (FuncTValue, ActionTValue, ActionEventHandlerEventArgs, ActionEventHandlerEventArgs)

Namespace:  Eto.Forms
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public DelegateBinding(
	Func<TValue> getValue = null,
	Action<TValue> setValue = null,
	Action<EventHandler<EventArgs>> addChangeEvent = null,
	Action<EventHandler<EventArgs>> removeChangeEvent = null
)

Parameters

getValue (Optional)
Type: SystemFuncTValue
Delegate to get the value for the binding.
setValue (Optional)
Type: SystemActionTValue
Delegate to set the value for the binding.
addChangeEvent (Optional)
Type: SystemActionEventHandlerEventArgs
Delegate to register the change event, when needed by the consumer of this binding.
removeChangeEvent (Optional)
Type: SystemActionEventHandlerEventArgs
Delegate to remove the change event.
See Also