PropertyBindingTAddValueChangedHandler Method |
Wires an event handler to fire when the property of the dataItem is changed
Namespace:
Eto.Forms
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntax public override Object AddValueChangedHandler(
Object dataItem,
EventHandler<EventArgs> handler
)
Public Overrides Function AddValueChangedHandler (
dataItem As Object,
handler As EventHandler(Of EventArgs)
) As Object
abstract AddValueChangedHandler :
dataItem : Object *
handler : EventHandler<EventArgs> -> Object
override AddValueChangedHandler :
dataItem : Object *
handler : EventHandler<EventArgs> -> Object
Parameters
- dataItem
- Type: SystemObject
object to detect changes on - handler
- Type: SystemEventHandlerEventArgs
handler to fire when the property changes on the specified dataItem
Return Value
Type:
Objectbinding reference used to track the event hookup, to pass to
RemoveValueChangedHandler(Object, EventHandlerEventArgs) when removing the handler
See Also