Skip to content

ReactiveUIBindingBuilder class

Defined in

Namespace: ReactiveUI.Binding.Builder Assembly: ReactiveUI.Binding.dll Full name: ReactiveUI.Binding.Builder.ReactiveUIBindingBuilder Modifiers: public sealed

Summary

View source

A builder class for configuring ReactiveUI.Binding services. Extends the Splat AppBuilder to provide binding-specific configuration.

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

Class hierarchy
classDiagram
class ReactiveUIBindingBuilder
class AppBuilder
AppBuilder <|-- ReactiveUIBindingBuilder
class IReactiveUIBindingBuilder {
    <>
}
IReactiveUIBindingBuilder <|.. ReactiveUIBindingBuilder
class IAppBuilder {
    <>
}
IAppBuilder <|.. ReactiveUIBindingBuilder
class IReactiveUIBindingInstance {
    <>
}
IReactiveUIBindingInstance <|.. ReactiveUIBindingBuilder
class IAppInstance {
    <>
}
IAppInstance <|.. ReactiveUIBindingBuilder

Inherits from: AppBuilder

Implements: IReactiveUIBindingBuilder, IAppBuilder, IReactiveUIBindingInstance, IAppInstance

Remarks

Use this builder to register core services, default converters, and platform-specific modules for property observation and binding.

RxBindingBuilder.CreateReactiveUIBindingBuilder()
 .WithCoreServices()
 .WithPlatformModule(new WpfBindingModule())
 .BuildApp();

Constructors

NameSummary
.ctorInitializes a new instance of the [ReactiveUIBindingBuilder](# class.

Properties

NameSummary
ConverterServiceGets the converter service used for binding type conversions.

Methods

NameSummary
WithPlatformModuleRegisters a platform-specific module with the builder.
WithRegistrationAdds a custom registration action to be executed during the build phase.
WithConverterRegisters a typed binding converter.
WithFallbackConverterRegisters a fallback binding converter.
WithSetMethodConverterRegisters a set-method binding converter.
WithCommandBinderRegisters a custom command binder for binding commands to UI controls.
ConfigureViewLocatorConfigures the default view locator with explicit view-to-view-model mappings.
WithCoreServicesRegisters the core ReactiveUI.Binding services in an AOT-compatible manner.
BuildAppBuilds the application and returns the configured instance.
Inherited members