Skip to content

ReactiveUIBindingExtensions class

Attributes: [ExcludeFromCodeCoverage]

Defined in

Namespace: ReactiveUI.Binding Assembly: ReactiveUI.Binding.dll Full name: ReactiveUI.Binding.ReactiveUIBindingExtensions Modifiers: public static

Summary

View source

        Extension methods for observing property changes with a conversion function before they occur (WhenChanging with selector).
        

Applies to

net10.0, net10.0-browserwasm1.0, net10.0-desktop1.0, net9.0, net9.0-browserwasm1.0, net9.0-desktop1.0, net8.0, net8.0-ios17.5, net8.0-maccatalyst17.5, net8.0-macos14.2, net8.0-macos14.5, net8.0-tvos17.2, netstandard2.1, net462, net481

Methods

NameSummary
static BindCommandBinds a command from a view model to a control on a view.
static BindOneWayCreates a one-way binding from a source property to a target property.
static BindTwoWayCreates a two-way binding between a source property and a target property.
static OneWayBindCreates a one-way binding from a view model property to a view property.
static BindCreates a two-way binding between a view model property and a view property.
static BindInteractionBinds a task-based handler to an interaction exposed by the view model.
static BindToApplies an observable stream to a target property. Conceptually similar to source.Subscribe(x => target.property = x).
static WhenAnyObserves 1 property on the specified sender and applies a selector to the observed changes.
static WhenAnyObservableObserves 1 observable property on the specified sender and switches to the latest observable.
static WhenAnyValueObserves a property on the specified sender and emits its value after it changes. This is a ReactiveUI compatibility shim.
static WhenChangedObserves a property change on the specified object and emits the value after it changes.
static WhenChangingObserves a property on the specified object and emits the value before it changes.
Inherited members