Skip to content

ReactiveUI.Binding namespace

Part of the ReactiveUI.Binding package.

TypeKindSummary
BindingAffinityclassCommon affinity scores shared by binding type converters, property observation factories, command binders, and the source generator's observation/command plugins. A higher value indicates a stronger match; zero means the candidate does not apply.
BindingConvertersclassProvides static access to the ReactiveUI.Binding converter service.
BindingDirectionenumSpecifies the direction of a property binding.
BindingFallbackConverterRegistryclassThread-safe registry for fallback binding converters using a lock-free snapshot pattern.
BindingTypeConverterclassBase class for type-pair binding converters.
BindingTypeConverterRegistryclassThread-safe registry for typed binding converters using a lock-free snapshot pattern.
BooleanToStringTypeConverterclassConverts Boolean to String.
ByteToNullableByteTypeConverterclassConverts Byte to Nullable.
ByteToStringTypeConverterclassConverts Byte values to String.
ConverterMigrationHelperclassProvides helper methods for migrating converters from Splat to the new [ConverterService](#
ConverterServiceclassProvides unified access to all converter registries in ReactiveUI.Binding.
CreatesObservableForPropertyMixinclassConvenience overloads for [ICreatesObservableForProperty](# that supply the common defaults. They are provided as overloads (rather than optional parameters on the interface) so the interface stays free of optional parameters and works on target frameworks without default interface methods.
DateOnlyToStringTypeConverterclassConverts DateOnly to String.
DateTimeOffsetToStringTypeConverterclassConverts DateTimeOffset to String.
DateTimeToStringTypeConverterclassConverts DateTime to String.
DecimalToNullableDecimalTypeConverterclassConverts Decimal to Nullable.
DecimalToStringTypeConverterclassConverts Decimal values to String.
DefaultConverterRegistrationclassRegisters all built-in type converters with a [ConverterService](#
DefaultViewLocatorclassDefault implementation of [IViewLocator](# that resolves views for view models using a three-tier resolution strategy: source-generated AOT-safe dispatch, explicit runtime mappings, and service locator fallback.
DoubleToNullableDoubleTypeConverterclassConverts Double to Nullable.
DoubleToStringTypeConverterclassConverts Double values to String.
EqualityTypeConverterclassConverts any value to Boolean by comparing it with a hint value using Equals.
ExcludeFromViewRegistrationAttributeclassApply this attribute to a view class to exclude it from automatic registration when scanning for [IViewFor](# implementations during source generation or runtime assembly scanning.
GuidToStringTypeConverterclassConverts Guid to String using the "D" format (standard hyphenated format).
IActivatableViewinterfaceMarker interface for views that support activation and deactivation lifecycle events.
IBindingFallbackConverterinterfaceRepresents a converter that can handle runtime type pairs not covered by typed converters. Fallback converters are consulted only after all typed converters fail to match.
IBindingTypeConverterinterfaceThis interface is the extensible implementation of IValueConverters for Bind and OneWayBind. Implement this to teach Bind and OneWayBind how to convert between types.
IBindingTypeConverterinterfaceGeneric type-safe interface for converting between specific types. Implement this alongside [IBindingTypeConverter](# for AOT-safe conversions.
ICreatesCommandBindinginterfacePlugin interface for types that can bind an ICommand to a control. Implementations register with Splat and are resolved by affinity scoring.
ICreatesObservableForPropertyinterfacePlugin interface for types that can provide property change observation. Implementations register with Splat and are resolved by affinity scoring.
IInteractioninterfaceRepresents an interaction between collaborating application components.
IInteractionContextinterfaceContains contextual information for an interaction.
IObservedChangeinterfaceRepresents the result of a property change observation.
IOutputContextinterfaceExtends [IInteractionContext](# with the ability to retrieve the output.
IPropertyBindingHookinterfaceImplement this as a way to intercept bindings at the time that they are created and execute an additional action (or to cancel the binding).
IReactiveBindinginterfaceRepresents a binding between a view and a view model property.
ISetMethodBindingConverterinterfaceThis converter will allow users to change the way the set functionality is performed in ReactiveUI property binding.
IViewForinterfaceNon-generic interface for views that display a view model.
IViewForinterfaceGeneric interface for views that display a specific view model type.
IViewLocatorinterfaceResolves views for view models. Supports both AOT-safe compile-time dispatch (via source-generated mappings) and runtime service locator lookup.
IntegerToNullableIntegerTypeConverterclassConverts Int32 to Nullable.
IntegerToStringTypeConverterclassConverts Int32 values to String.
InteractionclassRepresents an interaction between collaborating application components.
InteractionContextclassContains contextual information for an interaction.
LongToNullableLongTypeConverterclassConverts Int64 to Nullable.
LongToStringTypeConverterclassConverts Int64 values to String.
NullableBooleanToStringTypeConverterclassConverts nullable Boolean to String.
NullableByteToByteTypeConverterclassConverts Nullable to Byte.
NullableByteToStringTypeConverterclassConverts nullable Byte values to String.
NullableDateOnlyToStringTypeConverterclassConverts nullable DateOnly to String.
NullableDateTimeOffsetToStringTypeConverterclassConverts nullable DateTimeOffset to String.
NullableDateTimeToStringTypeConverterclassConverts nullable DateTime to String.
NullableDecimalToDecimalTypeConverterclassConverts Nullable to Decimal.
NullableDecimalToStringTypeConverterclassConverts nullable Decimal values to String.
NullableDoubleToDoubleTypeConverterclassConverts Nullable to Double.
NullableDoubleToStringTypeConverterclassConverts nullable Double values to String.
NullableGuidToStringTypeConverterclassConverts nullable Guid to String using the "D" format (standard hyphenated format).
NullableIntegerToIntegerTypeConverterclassConverts Nullable to Int32.
NullableIntegerToStringTypeConverterclassConverts nullable Int32 values to String.
NullableLongToLongTypeConverterclassConverts Nullable to Int64.
NullableLongToStringTypeConverterclassConverts nullable Int64 values to String.
NullableShortToShortTypeConverterclassConverts Nullable to Int16.
NullableShortToStringTypeConverterclassConverts nullable Int16 values to String.
NullableSingleToSingleTypeConverterclassConverts Nullable to Single.
NullableSingleToStringTypeConverterclassConverts nullable Single values to String.
NullableTimeOnlyToStringTypeConverterclassConverts nullable TimeOnly to String.
NullableTimeSpanToStringTypeConverterclassConverts nullable TimeSpan to String.
ObservedChangeclassConcrete implementation of [IObservedChange](#
ReactiveBindingclassDefault implementation of [IReactiveBinding](# used by generated view-first bindings.
ReactiveUIBindingExtensionsclassExtension methods for observing property changes with a conversion function before they occur (WhenChanging with selector).
SetMethodBindingConverterRegistryclassThread-safe registry for set-method binding converters using a lock-free snapshot pattern.
ShortToNullableShortTypeConverterclassConverts Int16 to Nullable.
ShortToStringTypeConverterclassConverts Int16 values to String.
SingleInstanceViewAttributeclassIndicates that this View should be constructed once and then reused every time its ViewModel's View is resolved. The source generator will emit a cached singleton pattern instead of creating a new instance per resolution.
SingleToNullableSingleTypeConverterclassConverts Single to Nullable.
SingleToStringTypeConverterclassConverts Single values to String.
StringConverterclassConverts String to String (identity converter).
StringToBooleanTypeConverterclassConverts String to Boolean using TryParse.
StringToByteTypeConverterclassConverts String to Byte using TryParse.
StringToDateOnlyTypeConverterclassConverts String to DateOnly using TryParse.
StringToDateTimeOffsetTypeConverterclassConverts String to DateTimeOffset using TryParse.
StringToDateTimeTypeConverterclassConverts String to DateTime using TryParse.
StringToDecimalTypeConverterclassConverts String to Decimal using TryParse.
StringToDoubleTypeConverterclassConverts String to Double using TryParse.
StringToGuidTypeConverterclassConverts String to Guid using TryParse.
StringToIntegerTypeConverterclassConverts String to Int32 using TryParse.
StringToLongTypeConverterclassConverts String to Int64 using TryParse.
StringToNullableBooleanTypeConverterclassConverts String to nullable Boolean using TryParse.
StringToNullableByteTypeConverterclassConverts String to nullable Byte using TryParse.
StringToNullableDateOnlyTypeConverterclassConverts String to nullable DateOnly using TryParse.
StringToNullableDateTimeOffsetTypeConverterclassConverts String to nullable DateTimeOffset using TryParse.
StringToNullableDateTimeTypeConverterclassConverts String to nullable DateTime using TryParse.
StringToNullableDecimalTypeConverterclassConverts String to nullable Decimal using TryParse.
StringToNullableDoubleTypeConverterclassConverts String to nullable Double using TryParse.
StringToNullableGuidTypeConverterclassConverts String to nullable Guid using TryParse.
StringToNullableIntegerTypeConverterclassConverts String to nullable Int32 using TryParse.
StringToNullableLongTypeConverterclassConverts String to nullable Int64 using TryParse.
StringToNullableShortTypeConverterclassConverts String to nullable Int16 using TryParse.
StringToNullableSingleTypeConverterclassConverts String to nullable Single using TryParse.
StringToNullableTimeOnlyTypeConverterclassConverts String to nullable TimeOnly using TryParse.
StringToNullableTimeSpanTypeConverterclassConverts String to nullable TimeSpan using TryParse.
StringToShortTypeConverterclassConverts String to Int16 using TryParse.
StringToSingleTypeConverterclassConverts String to Single using TryParse.
StringToTimeOnlyTypeConverterclassConverts String to TimeOnly using TryParse.
StringToTimeSpanTypeConverterclassConverts String to TimeSpan using TryParse.
StringToUriTypeConverterclassConverts String to Uri using TryCreate.
TimeOnlyToStringTypeConverterclassConverts TimeOnly to String.
TimeSpanToStringTypeConverterclassConverts TimeSpan to String.
UnhandledInteractionExceptionclassIndicates that an interaction has gone unhandled.
UriToStringTypeConverterclassConverts Uri to String.
ViewContractAttributeclassAllows an additional string to make view resolution more specific than just a type. When applied to your [IViewFor](# View, the source generator will register this view under the specified contract, enabling selection between different Views for a single ViewModel.
ViewLocatorclassStatic accessor for the current [IViewLocator](# instance.
ViewLocatorMixinclassConvenience overloads for [IViewLocator](# that supply the default (null) contract. Provided as overloads rather than optional parameters so the interface stays free of optional parameters.
ViewLocatorNotFoundExceptionclassException thrown when a view locator is not registered with the dependency resolver.
ViewMappingBuilderclassFluent builder for registering view-to-view-model mappings on a [DefaultViewLocator](#