Skip to content

Avalonia.ReactiveUI namespace

Part of the ReactiveUI.Avalonia.DryIoc package.

TypeKindSummary
AppBuilderExtensionsclassApp Builder Extensions.
AutoDataTemplateBindingHookclassAutoDataTemplateBindingHook is a binding hook that checks ItemsControls that don't have DataTemplates, and assigns a default DataTemplate that loads the View associated with each ViewModel.
AutoSuspendHelperclassA ReactiveUI AutoSuspendHelper which initializes suspension hooks for Avalonia applications. Call its constructor in your app's composition root, before calling the RxApp.SuspensionHost.SetupDefaultSuspendResume method.
AvaloniaActivationForViewFetcherclassDetermines when Avalonia IVisuals get activated.
AvaloniaObjectReactiveExtensionsclassAvalonia Object Reactive Extensions.
AvaloniaSchedulerclassA reactive scheduler that uses Avalonia's Dispatcher.
ReactiveUserControlclassA ReactiveUI UserControl that implements the [IViewFor](# interface and will activate your ViewModel automatically if the view model implements [IActivatableViewModel](# When the DataContext property changes, this class will update the ViewModel property with the new DataContext value, and vice versa.
ReactiveWindowclassA ReactiveUI Window that implements the [IViewFor](# interface and will activate your ViewModel automatically if the view model implements [IActivatableViewModel](# When the DataContext property changes, this class will update the ViewModel property with the new DataContext value, and vice versa.
RoutedViewHostclassThis control hosts the View associated with ReactiveUI RoutingState, and will display the View and wire up the ViewModel whenever a new ViewModel is navigated to. Nested routing is also supported.
ViewModelViewHostclassThis content control will automatically load the View associated with the ViewModel property and display it. This control is very useful inside a DataTemplate to display the View associated with a ViewModel.