Skip to main content

Avalonia.ReactiveUI Namespace

Classes

AppBuilderExtensions 
AutoDataTemplateBindingHookAutoDataTemplateBindingHook 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.
AutoSuspendHelperA 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.
AvaloniaActivationForViewFetcherDetermines when Avalonia IVisuals get activated.
AvaloniaObjectReactiveExtensions 
AvaloniaSchedulerA reactive scheduler that uses Avalonia's Dispatcher.
ReactiveUserControl(TViewModel)A 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.
ReactiveWindow(TViewModel)A 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.
RoutedViewHostThis 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.
ViewModelViewHostThis 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.