Class ReactiveNavigationPage<TViewModel>
- Namespace
- ReactiveUI.Maui
- Assembly
- ReactiveUI.Maui.dll
This is an NavigationPage that is also an IViewFor<T>.
[RequiresDynamicCode("ReactiveNavigationPage uses methods that require dynamic code generation")]
[RequiresUnreferencedCode("ReactiveNavigationPage uses methods that may require unreferenced code")]
public class ReactiveNavigationPage<TViewModel> : NavigationPage, INotifyPropertyChanged, IVisualTreeElement, IEffectControlProvider, IToolTipElement, IContextFlyoutElement, IAnimatable, ILayout, IPageController, IVisualElementController, IElementController, IElementConfiguration<Page>, ISafeAreaView, ITitledElement, IPageContainer<Page>, IElementConfiguration<NavigationPage>, IStackNavigationView, IView, IElement, ITransform, IStackNavigation, IToolbarElement, INavigationPageController, IViewFor<TViewModel>, IViewFor, IActivatableView where TViewModel : class
Type Parameters
TViewModelThe type of the view model.
- Inheritance
-
ReactiveNavigationPage<TViewModel>
- Implements
-
IViewFor<TViewModel>
- Inherited Members
- Extension Methods
Constructors
ReactiveNavigationPage()
public ReactiveNavigationPage()
Fields
ViewModelProperty
The view model bindable property.
public static readonly BindableProperty ViewModelProperty
Field Value
Properties
ViewModel
Gets or sets the ViewModel to display.
public TViewModel? ViewModel { get; set; }
Property Value
- TViewModel
Methods
OnBindingContextChanged()
Invoked whenever the binding context of the page changes. Override this method to add class handling for this event.
protected override void OnBindingContextChanged()
See Also
IViewFor<T>