ReactiveUIBindingExtensions class¶
Attributes: [ExcludeFromCodeCoverage]
Defined in
Namespace: ReactiveUI.Binding
Assembly: ReactiveUI.Binding.dll
Full name: ReactiveUI.Binding.ReactiveUIBindingExtensions
Modifiers: public static
Summary¶
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¶
| Name | Summary |
|---|---|
| static BindCommand | Binds a command from a view model to a control on a view. |
| static BindOneWay | Creates a one-way binding from a source property to a target property. |
| static BindTwoWay | Creates a two-way binding between a source property and a target property. |
| static OneWayBind | Creates a one-way binding from a view model property to a view property. |
| static Bind | Creates a two-way binding between a view model property and a view property. |
| static BindInteraction | Binds a task-based handler to an interaction exposed by the view model. |
| static BindTo | Applies an observable stream to a target property. Conceptually similar to source.Subscribe(x => target.property = x). |
| static WhenAny | Observes 1 property on the specified sender and applies a selector to the observed changes. |
| static WhenAnyObservable | Observes 1 observable property on the specified sender and switches to the latest observable. |
| static WhenAnyValue | Observes a property on the specified sender and emits its value after it changes. This is a ReactiveUI compatibility shim. |
| static WhenChanged | Observes a property change on the specified object and emits the value after it changes. |
| static WhenChanging | Observes a property on the specified object and emits the value before it changes. |