BindableWidgetOnDataContextChanged Method |
Namespace:
Eto.Forms
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntax protected virtual void OnDataContextChanged(
EventArgs e
)
Protected Overridable Sub OnDataContextChanged (
e As EventArgs
)
abstract OnDataContextChanged :
e : EventArgs -> unit
override OnDataContextChanged :
e : EventArgs -> unit
Parameters
- e
- Type: SystemEventArgs
Event arguments
Remarks
Implementors may override this to fire this event on child widgets in a heirarchy.
Alternatively, implement
IBindableWidgetContainer for your widget and this will
trigger any events on the children automatically.
This allows a control to be bound to its own
DataContext, which would be set
on one of the parent control(s).
See Also