The recording of the first ever ReactiveUI virtual conference is available on our YouTube Channel.

NavigationView Class

Summary

The IView implementation for Avalonia. A view used within navigation in Sextant with Avalonia.
Namespace
Sextant.Avalonia
Interfaces
Base Types
  • ContentControl
graph BT Type-->Base0["ContentControl"] Type-.->Interface0["IStyleable"] Type-.->Interface1["IView"] click Interface1 "/api/Sextant/IView" Type["NavigationView"] class Type type-node

Syntax

public sealed class NavigationView : ContentControl, IStyleable, IView

Constructors

Name Summary
NavigationView() Initializes a new instance of the NavigationView class.

Properties

Name Value Summary
MainThreadScheduler IScheduler
Gets or sets the scheduler used by the NavigationView.
PagePopped IObservable<IViewModel>
ViewLocator IViewLocator
Gets or sets the scheduler used by the NavigationView.

Methods

Name Value Summary
PopModal() IObservable<Unit>
Pops the modal from the modal stack.
PopPage(bool) IObservable<Unit>
Pops the page from the navigation stack.
PopToRootPage(bool) IObservable<Unit>
Pops the root page.
PushModal(IViewModel, string?, bool) IObservable<Unit>
Pushes the modal onto the modal stack.
PushPage(IViewModel, string?, bool, bool) IObservable<Unit>
Pushes the page onto the navigation stack.

Extension Methods

Name Value Summary
BindCommand<NavigationView, TViewModel, TProp, TControl, TParam>(TViewModel?, Expression<Func<TViewModel, TProp?>>, Expression<Func<NavigationView, TControl>>, Expression<Func<TViewModel, TParam?>>, string?) IReactiveBinding<TView, TProp>
Bind a command from the ViewModel to an explicitly specified control on the View.
BindCommand<NavigationView, TViewModel, TProp, TControl, TParam>(TViewModel?, Expression<Func<TViewModel, TProp?>>, Expression<Func<NavigationView, TControl>>, IObservable<TParam?>, string?) IReactiveBinding<TView, TProp>
Bind a command from the ViewModel to an explicitly specified control on the View.
BindCommand<NavigationView, TViewModel, TProp, TControl>(TViewModel?, Expression<Func<TViewModel, TProp?>>, Expression<Func<NavigationView, TControl>>, string?) IReactiveBinding<TView, TProp>
Bind a command from the ViewModel to an explicitly specified control on the View.
BindValidation<NavigationView, TViewModel, TViewModelProperty, TViewProperty>(TViewModel?, Expression<Func<TViewModel, TViewModelProperty>>, Expression<Func<NavigationView, TViewProperty>>, IValidationTextFormatter<string>?) IDisposable
Binds the specified ViewModel property validation to the View property.
BindValidation<NavigationView, TViewModel, TViewModelProperty>(TViewModel?, Expression<Func<TViewModel, TViewModelProperty?>>, TextInputLayout, IValidationTextFormatter<string>?) IDisposable
Platform binding to the TextInputLayout.
BindValidation<NavigationView, TViewModel, TViewModelProperty>(TViewModel?, Expression<Func<TViewModel, TViewModelProperty?>>, TextInputLayout, IValidationTextFormatter<string>?) IDisposable
Platform binding to the TextInputLayout.
BindValidation<NavigationView, TViewModel, TViewProperty>(TViewModel?, Expression<Func<NavigationView, TViewProperty>>, IValidationTextFormatter<string>?) IDisposable
Binds the overall validation of a ViewModel to a specified View property.
BindValidation<NavigationView, TViewModel, TViewProperty>(TViewModel?, Expression<Func<TViewModel?, ValidationHelper?>>, Expression<Func<NavigationView, TViewProperty>>, IValidationTextFormatter<string>?) IDisposable
Binds a ValidationHelper from a ViewModel to a specified View property.
BindValidation<NavigationView, TViewModel>(TViewModel?, Expression<Func<TViewModel?, ValidationHelper?>>, TextInputLayout, IValidationTextFormatter<string>?) IDisposable
Platform binding to the TextInputLayout.
BindValidation<NavigationView, TViewModel>(TViewModel?, Expression<Func<TViewModel?, ValidationHelper?>>, TextInputLayout, IValidationTextFormatter<string>?) IDisposable
Platform binding to the TextInputLayout.
BindValidationEx<NavigationView, TViewModel, TViewModelProperty>(TViewModel?, Expression<Func<TViewModel, TViewModelProperty?>>, TextInputLayout, IValidationTextFormatter<string>?) IDisposable
Platform binding to the TextInputLayout.
BindValidationEx<NavigationView, TViewModel, TViewModelProperty>(TViewModel?, Expression<Func<TViewModel, TViewModelProperty?>>, TextInputLayout, IValidationTextFormatter<string>?) IDisposable
Platform binding to the TextInputLayout.
InvokeViewModelAction<T>(Action<T>) object
This is a thing I lifted from Prism.
WhenAnyObservable<NavigationView, TRet, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>(Expression<Func<NavigationView, IObservable<T1>?>>, Expression<Func<NavigationView, IObservable<T2>?>>, Expression<Func<NavigationView, IObservable<T3>?>>, Expression<Func<NavigationView, IObservable<T4>?>>, Expression<Func<NavigationView, IObservable<T5>?>>, Expression<Func<NavigationView, IObservable<T6>?>>, Expression<Func<NavigationView, IObservable<T7>?>>, Expression<Func<NavigationView, IObservable<T8>?>>, Expression<Func<NavigationView, IObservable<T9>?>>, Expression<Func<NavigationView, IObservable<T10>?>>, Expression<Func<NavigationView, IObservable<T11>?>>, Expression<Func<NavigationView, IObservable<T12>?>>, Func<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?, T10?, T11?, T12?, TRet>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<NavigationView, TRet, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>(Expression<Func<NavigationView, IObservable<T1>?>>, Expression<Func<NavigationView, IObservable<T2>?>>, Expression<Func<NavigationView, IObservable<T3>?>>, Expression<Func<NavigationView, IObservable<T4>?>>, Expression<Func<NavigationView, IObservable<T5>?>>, Expression<Func<NavigationView, IObservable<T6>?>>, Expression<Func<NavigationView, IObservable<T7>?>>, Expression<Func<NavigationView, IObservable<T8>?>>, Expression<Func<NavigationView, IObservable<T9>?>>, Expression<Func<NavigationView, IObservable<T10>?>>, Expression<Func<NavigationView, IObservable<T11>?>>, Func<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?, T10?, T11?, TRet>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<NavigationView, TRet, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(Expression<Func<NavigationView, IObservable<T1>?>>, Expression<Func<NavigationView, IObservable<T2>?>>, Expression<Func<NavigationView, IObservable<T3>?>>, Expression<Func<NavigationView, IObservable<T4>?>>, Expression<Func<NavigationView, IObservable<T5>?>>, Expression<Func<NavigationView, IObservable<T6>?>>, Expression<Func<NavigationView, IObservable<T7>?>>, Expression<Func<NavigationView, IObservable<T8>?>>, Expression<Func<NavigationView, IObservable<T9>?>>, Expression<Func<NavigationView, IObservable<T10>?>>, Func<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?, T10?, TRet>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<NavigationView, TRet, T1, T2, T3, T4, T5, T6, T7, T8, T9>(Expression<Func<NavigationView, IObservable<T1>?>>, Expression<Func<NavigationView, IObservable<T2>?>>, Expression<Func<NavigationView, IObservable<T3>?>>, Expression<Func<NavigationView, IObservable<T4>?>>, Expression<Func<NavigationView, IObservable<T5>?>>, Expression<Func<NavigationView, IObservable<T6>?>>, Expression<Func<NavigationView, IObservable<T7>?>>, Expression<Func<NavigationView, IObservable<T8>?>>, Expression<Func<NavigationView, IObservable<T9>?>>, Func<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?, TRet>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<NavigationView, TRet, T1, T2, T3, T4, T5, T6, T7, T8>(Expression<Func<NavigationView, IObservable<T1>?>>, Expression<Func<NavigationView, IObservable<T2>?>>, Expression<Func<NavigationView, IObservable<T3>?>>, Expression<Func<NavigationView, IObservable<T4>?>>, Expression<Func<NavigationView, IObservable<T5>?>>, Expression<Func<NavigationView, IObservable<T6>?>>, Expression<Func<NavigationView, IObservable<T7>?>>, Expression<Func<NavigationView, IObservable<T8>?>>, Func<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, TRet>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<NavigationView, TRet, T1, T2, T3, T4, T5, T6, T7>(Expression<Func<NavigationView, IObservable<T1>?>>, Expression<Func<NavigationView, IObservable<T2>?>>, Expression<Func<NavigationView, IObservable<T3>?>>, Expression<Func<NavigationView, IObservable<T4>?>>, Expression<Func<NavigationView, IObservable<T5>?>>, Expression<Func<NavigationView, IObservable<T6>?>>, Expression<Func<NavigationView, IObservable<T7>?>>, Func<T1?, T2?, T3?, T4?, T5?, T6?, T7?, TRet>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<NavigationView, TRet, T1, T2, T3, T4, T5, T6>(Expression<Func<NavigationView, IObservable<T1>?>>, Expression<Func<NavigationView, IObservable<T2>?>>, Expression<Func<NavigationView, IObservable<T3>?>>, Expression<Func<NavigationView, IObservable<T4>?>>, Expression<Func<NavigationView, IObservable<T5>?>>, Expression<Func<NavigationView, IObservable<T6>?>>, Func<T1?, T2?, T3?, T4?, T5?, T6?, TRet>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<NavigationView, TRet, T1, T2, T3, T4, T5>(Expression<Func<NavigationView, IObservable<T1>?>>, Expression<Func<NavigationView, IObservable<T2>?>>, Expression<Func<NavigationView, IObservable<T3>?>>, Expression<Func<NavigationView, IObservable<T4>?>>, Expression<Func<NavigationView, IObservable<T5>?>>, Func<T1?, T2?, T3?, T4?, T5?, TRet>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<NavigationView, TRet, T1, T2, T3, T4>(Expression<Func<NavigationView, IObservable<T1>?>>, Expression<Func<NavigationView, IObservable<T2>?>>, Expression<Func<NavigationView, IObservable<T3>?>>, Expression<Func<NavigationView, IObservable<T4>?>>, Func<T1?, T2?, T3?, T4?, TRet>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<NavigationView, TRet, T1, T2, T3>(Expression<Func<NavigationView, IObservable<T1>?>>, Expression<Func<NavigationView, IObservable<T2>?>>, Expression<Func<NavigationView, IObservable<T3>?>>, Func<T1?, T2?, T3?, TRet>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<NavigationView, TRet, T1, T2>(Expression<Func<NavigationView, IObservable<T1>?>>, Expression<Func<NavigationView, IObservable<T2>?>>, Func<T1?, T2?, TRet>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<NavigationView, TRet>(Expression<Func<NavigationView, IObservable<TRet>?>>) IObservable<TRet>
Observe a observable which is set to a property, and automatically subscribe to the most recent emitted value.
WhenAnyObservable<NavigationView, TRet>(Expression<Func<NavigationView, IObservable<TRet>?>>, Expression<Func<NavigationView, IObservable<TRet>?>>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<NavigationView, TRet>(Expression<Func<NavigationView, IObservable<TRet>?>>, Expression<Func<NavigationView, IObservable<TRet>?>>, Expression<Func<NavigationView, IObservable<TRet>?>>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<NavigationView, TRet>(Expression<Func<NavigationView, IObservable<TRet>?>>, Expression<Func<NavigationView, IObservable<TRet>?>>, Expression<Func<NavigationView, IObservable<TRet>?>>, Expression<Func<NavigationView, IObservable<TRet>?>>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<NavigationView, TRet>(Expression<Func<NavigationView, IObservable<TRet>?>>, Expression<Func<NavigationView, IObservable<TRet>?>>, Expression<Func<NavigationView, IObservable<TRet>?>>, Expression<Func<NavigationView, IObservable<TRet>?>>, Expression<Func<NavigationView, IObservable<TRet>?>>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<NavigationView, TRet>(Expression<Func<NavigationView, IObservable<TRet>?>>, Expression<Func<NavigationView, IObservable<TRet>?>>, Expression<Func<NavigationView, IObservable<TRet>?>>, Expression<Func<NavigationView, IObservable<TRet>?>>, Expression<Func<NavigationView, IObservable<TRet>?>>, Expression<Func<NavigationView, IObservable<TRet>?>>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<NavigationView, TRet>(Expression<Func<NavigationView, IObservable<TRet>?>>, Expression<Func<NavigationView, IObservable<TRet>?>>, Expression<Func<NavigationView, IObservable<TRet>?>>, Expression<Func<NavigationView, IObservable<TRet>?>>, Expression<Func<NavigationView, IObservable<TRet>?>>, Expression<Func<NavigationView, IObservable<TRet>?>>, Expression<Func<NavigationView, IObservable<TRet>?>>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<NavigationView, TRet>(Expression<Func<NavigationView, IObservable<TRet>?>>, Expression<Func<NavigationView, IObservable<TRet>?>>, Expression<Func<NavigationView, IObservable<TRet>?>>, Expression<Func<NavigationView, IObservable<TRet>?>>, Expression<Func<NavigationView, IObservable<TRet>?>>, Expression<Func<NavigationView, IObservable<TRet>?>>, Expression<Func<NavigationView, IObservable<TRet>?>>, Expression<Func<NavigationView, IObservable<TRet>?>>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<NavigationView, TRet>(Expression<Func<NavigationView, IObservable<TRet>?>>, Expression<Func<NavigationView, IObservable<TRet>?>>, Expression<Func<NavigationView, IObservable<TRet>?>>, Expression<Func<NavigationView, IObservable<TRet>?>>, Expression<Func<NavigationView, IObservable<TRet>?>>, Expression<Func<NavigationView, IObservable<TRet>?>>, Expression<Func<NavigationView, IObservable<TRet>?>>, Expression<Func<NavigationView, IObservable<TRet>?>>, Expression<Func<NavigationView, IObservable<TRet>?>>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<NavigationView, TRet>(Expression<Func<NavigationView, IObservable<TRet>?>>, Expression<Func<NavigationView, IObservable<TRet>?>>, Expression<Func<NavigationView, IObservable<TRet>?>>, Expression<Func<NavigationView, IObservable<TRet>?>>, Expression<Func<NavigationView, IObservable<TRet>?>>, Expression<Func<NavigationView, IObservable<TRet>?>>, Expression<Func<NavigationView, IObservable<TRet>?>>, Expression<Func<NavigationView, IObservable<TRet>?>>, Expression<Func<NavigationView, IObservable<TRet>?>>, Expression<Func<NavigationView, IObservable<TRet>?>>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<NavigationView, TRet>(Expression<Func<NavigationView, IObservable<TRet>?>>, Expression<Func<NavigationView, IObservable<TRet>?>>, Expression<Func<NavigationView, IObservable<TRet>?>>, Expression<Func<NavigationView, IObservable<TRet>?>>, Expression<Func<NavigationView, IObservable<TRet>?>>, Expression<Func<NavigationView, IObservable<TRet>?>>, Expression<Func<NavigationView, IObservable<TRet>?>>, Expression<Func<NavigationView, IObservable<TRet>?>>, Expression<Func<NavigationView, IObservable<TRet>?>>, Expression<Func<NavigationView, IObservable<TRet>?>>, Expression<Func<NavigationView, IObservable<TRet>?>>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<NavigationView, TRet>(Expression<Func<NavigationView, IObservable<TRet>?>>, Expression<Func<NavigationView, IObservable<TRet>?>>, Expression<Func<NavigationView, IObservable<TRet>?>>, Expression<Func<NavigationView, IObservable<TRet>?>>, Expression<Func<NavigationView, IObservable<TRet>?>>, Expression<Func<NavigationView, IObservable<TRet>?>>, Expression<Func<NavigationView, IObservable<TRet>?>>, Expression<Func<NavigationView, IObservable<TRet>?>>, Expression<Func<NavigationView, IObservable<TRet>?>>, Expression<Func<NavigationView, IObservable<TRet>?>>, Expression<Func<NavigationView, IObservable<TRet>?>>, Expression<Func<NavigationView, IObservable<TRet>?>>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
With<NavigationView, TKey, TField>(Dictionary<TKey, TField>, IDictionary<TKey, TField>) TBuilder
Adds the specified dictionary to the provided dictionary.