Skip to content

PropertyBinderImplementation class

Attributes: [DebuggerDisplay("PropertyBinderImplementation")] [RequiresUnreferencedCode("Uses reflection over runtime types and expression graphs which may be trimmed.")] [RequiresDynamicCode("Uses dynamic binding paths which may require runtime code generation or reflection-based invocation.")]

Defined in

Namespace: ReactiveUI.Reactive Assembly: ReactiveUI.Reactive.dll Full name: ReactiveUI.Reactive.PropertyBinderImplementation Modifiers: public

Summary

View source

Private binding-pipeline helpers and observable adapters for PropertyBinderImplementation.

Applies to

net10.0, net10.0-maccatalyst26.0, net10.0-desktop1.0, net10.0-browserwasm1.0, net10.0-tvos26.0, net10.0-windows10.0.19041, net10.0-macos26.0, net10.0-ios26.0, net10.0-android36.0, net9.0, net9.0-tvos18.0, net9.0-macos15.0, net9.0-maccatalyst18.0, net9.0-windows10.0.19041, net9.0-ios18.0, net9.0-desktop1.0, net8.0, net8.0-windows10.0.19041, net8.0-ios18.0, net8.0-maccatalyst18.0, net8.0-macos15.0, net8.0-tvos18.0, net8.0-ios17.5, net8.0-maccatalyst17.5, net8.0-macos14.5, netstandard2.1, net481, net462, net471

Class hierarchy
classDiagram
class PropertyBinderImplementation
class IPropertyBinderImplementation {
    <>
}
IPropertyBinderImplementation <|.. PropertyBinderImplementation
class IEnableLogger {
    <>
}
IEnableLogger <|.. PropertyBinderImplementation

Implements: IPropertyBinderImplementation, IEnableLogger

Remarks

This implementation uses dynamic expression parsing and reflection to support arbitrary property chains and dynamic observation (WhenAnyDynamic). As such, it is not trimming- or AOT-friendly without additional preservation.

Trimming/AOT: this type is annotated because it performs reflection over runtime types and expression graphs that may be trimmed, and may invoke members that are annotated for dynamic code.

Constructors

NameSummary
.ctorInitializes a new instance of the [PropertyBinderImplementation](# class with default dependencies.

Methods

NameSummary
BindCreates a two-way binding between a view model and a view using a conversion hint and no converter overrides.
OneWayBindCreates a one-way binding from view model to view using default converters and conversion hint.
BindToBinds an observable stream to a target property using default converters and conversion hint.
ScheduleForBindingSchedules a two-way change signal before the view is read or written. The default is a synchronous pass-through; platform binders (e.g. WPF) override this to marshal onto the UI thread,...
SetViewValueApplies a view-value setter. The default invokes it inline; platform binders (e.g. WPF) override this to marshal onto the UI thread, and only when off-thread.
Inherited members