Properties

Bindings

#
BindingCollection Bindings { get; }
Gets the collection of bindings that are attached to this widget

DataContext

#
object DataContext { get; set; }
Gets or sets the data context for the widget for binding
Remarks: Subclasses may override the standard behaviour so that hierarchy of widgets can be taken into account. For example, a Control may return the data context of a parent, if it is not set explicitly.

IsDataContextChanging

#
bool IsDataContextChanging { get; }
Gets a value indicating that the DataContext property is changing.
Remarks: This can be used to determine when to allow certain logic during the update of the data context. It is used to disable binding setters on the model when the data context changes so that a binding does not cause the view model to be updated when the state hasn't been fully set yet.
true if the DataContext is currently changing, false otherwise.

Events

DataContextChanged

#
event EventHandler<EventArgs> DataContextChanged
Event to handle when the DataContext has changed
Remarks: This may be fired in the event of a parent in the hierarchy setting the data context. For example, the Container widget fires this event when it's event is fired.