Skip to content

RuntimeBindingFallback class

Attributes: [EditorBrowsable(EditorBrowsableState.1)]

Defined in

Namespace: ReactiveUI.Binding.Reactive.Fallback Assembly: ReactiveUI.Binding.Reactive.dll Full name: ReactiveUI.Binding.Reactive.Fallback.RuntimeBindingFallback Modifiers: public static

Summary

View source

Drives a binding through the runtime observation engine instead of the generated one.

Applies to

net10.0, net10.0-browserwasm1.0, net10.0-desktop1.0, net9.0, net9.0-tvos18.0, net9.0-maccatalyst18.0, net9.0-ios18.0, net9.0-macos15.0, net9.0-desktop1.0, net8.0, net8.0-macos14.5, net8.0-ios18.0, net8.0-maccatalyst18.0, net8.0-macos15.0, net8.0-tvos18.0, net8.0-ios17.5, net8.0-maccatalyst17.5, netstandard2.1, net481, net462, net471

Remarks

The generator picks an observation mechanism at compile time from the types it can see. A consumer may register an ICreatesObservableForProperty that outranks that choice, and the binding has to honour it or the registration would apply to WhenChanged and silently not to a binding. Generated bindings therefore test the affinity first and route here when the registration wins, which reads the bound properties through the highest-affinity plugin exactly as the runtime engine does.

Methods

NameSummary
static BindOneWayBinds a source property one way onto a target property of the same type.
static BindTwoWayBinds a source and a target property of the same type to each other.
static OneWayBindBinds a view-model property one way onto a view property of the same type.
static BindBinds a view-model property and a view property of the same type to each other.
static BindToWrites every value a sequence produces into a property, converting it on the way.
Inherited members