Click or drag to resize

BindableWidgetOnDataContextChanged Method

Raises the DataContextChanged event

Namespace:  Eto.Forms
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
protected virtual void OnDataContextChanged(
	EventArgs e


Type: SystemEventArgs
Event arguments
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