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

PageView Class

Summary

A mock of a page view.
Namespace
Sextant.Mocks
Interfaces
Base Types
  • object
graph BT Type-->Base0["object"] Type-.->Interface0["IViewFor<NavigableViewModelMock>"] Type-.->Interface1["IViewFor"] click Interface1 "/api/ReactiveUI/IViewFor" Type-.->Interface2["IActivatableView"] click Interface2 "/api/ReactiveUI/IActivatableView" Type["PageView"] class Type type-node

Syntax

public class PageView : IViewFor<NavigableViewModelMock>, IViewFor, IActivatableView

Properties

Name Value Summary
ViewModel NavigableViewModelMock?
Gets or sets the ViewModel corresponding to this specific View. This should be a DependencyProperty if you're using XAML.

Extension Methods

Name Value Summary
Bind<TViewModel, PageView, TVMProp, TVProp, TDontCare>(TViewModel?, Expression<Func<TViewModel, TVMProp?>>, Expression<Func<PageView, TVProp>>, IObservable<TDontCare>?, Func<TVMProp?, TVProp>, Func<TVProp, TVMProp?>, TriggerUpdate) IReactiveBinding<TView, (object? view, bool isViewModel)>
Binds the specified view model property to the given view property.
Bind<TViewModel, PageView, TVMProp, TVProp, TDontCare>(TViewModel?, Expression<Func<TViewModel, TVMProp?>>, Expression<Func<PageView, TVProp>>, IObservable<TDontCare>?, object?, IBindingTypeConverter?, IBindingTypeConverter?, TriggerUpdate) IReactiveBinding<TView, (object? view, bool isViewModel)>
Binds the specified view model property to the given view property, and provide a custom view update signaler to signal when the view property has been updated.
Bind<TViewModel, PageView, TVMProp, TVProp>(TViewModel?, Expression<Func<TViewModel, TVMProp?>>, Expression<Func<PageView, TVProp>>, Func<TVMProp?, TVProp>, Func<TVProp, TVMProp?>) IReactiveBinding<TView, (object? view, bool isViewModel)>
Binds the specified view model property to the given view property.
Bind<TViewModel, PageView, TVMProp, TVProp>(TViewModel?, Expression<Func<TViewModel, TVMProp?>>, Expression<Func<PageView, TVProp>>, object?, IBindingTypeConverter?, IBindingTypeConverter?) IReactiveBinding<TView, (object? view, bool isViewModel)>
Binds the specified view model property to the given view property.
BindCommand<PageView, TViewModel, TProp, TControl, TParam>(TViewModel?, Expression<Func<TViewModel, TProp?>>, Expression<Func<PageView, TControl>>, Expression<Func<TViewModel, TParam?>>, string?) IReactiveBinding<TView, TProp>
Bind a command from the ViewModel to an explicitly specified control on the View.
BindCommand<PageView, TViewModel, TProp, TControl, TParam>(TViewModel?, Expression<Func<TViewModel, TProp?>>, Expression<Func<PageView, TControl>>, IObservable<TParam?>, string?) IReactiveBinding<TView, TProp>
Bind a command from the ViewModel to an explicitly specified control on the View.
BindCommand<PageView, TViewModel, TProp, TControl>(TViewModel?, Expression<Func<TViewModel, TProp?>>, Expression<Func<PageView, TControl>>, string?) IReactiveBinding<TView, TProp>
Bind a command from the ViewModel to an explicitly specified control on the View.
BindInteraction<TViewModel, PageView, TInput, TOutput, TDontCare>(TViewModel?, Expression<Func<TViewModel, Interaction<TInput, TOutput>>>, Func<InteractionContext<TInput, TOutput>, IObservable<TDontCare>>) IDisposable
Binds the Interaction<TInput, TOutput> on a ViewModel to the specified handler.
BindInteraction<TViewModel, PageView, TInput, TOutput>(TViewModel?, Expression<Func<TViewModel, Interaction<TInput, TOutput>>>, Func<InteractionContext<TInput, TOutput>, Task>) IDisposable
Binds the Interaction<TInput, TOutput> on a ViewModel to the specified handler.
BindValidation<PageView, TViewModel, TViewModelProperty, TViewProperty>(TViewModel?, Expression<Func<TViewModel, TViewModelProperty>>, Expression<Func<PageView, TViewProperty>>, IValidationTextFormatter<string>?) IDisposable
Binds the specified ViewModel property validation to the View property.
BindValidation<PageView, TViewModel, TViewModelProperty>(TViewModel?, Expression<Func<TViewModel, TViewModelProperty?>>, TextInputLayout, IValidationTextFormatter<string>?) IDisposable
Platform binding to the TextInputLayout.
BindValidation<PageView, TViewModel, TViewModelProperty>(TViewModel?, Expression<Func<TViewModel, TViewModelProperty?>>, TextInputLayout, IValidationTextFormatter<string>?) IDisposable
Platform binding to the TextInputLayout.
BindValidation<PageView, TViewModel, TViewProperty>(TViewModel?, Expression<Func<PageView, TViewProperty>>, IValidationTextFormatter<string>?) IDisposable
Binds the overall validation of a ViewModel to a specified View property.
BindValidation<PageView, TViewModel, TViewProperty>(TViewModel?, Expression<Func<TViewModel?, ValidationHelper?>>, Expression<Func<PageView, TViewProperty>>, IValidationTextFormatter<string>?) IDisposable
Binds a ValidationHelper from a ViewModel to a specified View property.
BindValidation<PageView, TViewModel>(TViewModel?, Expression<Func<TViewModel?, ValidationHelper?>>, TextInputLayout, IValidationTextFormatter<string>?) IDisposable
Platform binding to the TextInputLayout.
BindValidation<PageView, TViewModel>(TViewModel?, Expression<Func<TViewModel?, ValidationHelper?>>, TextInputLayout, IValidationTextFormatter<string>?) IDisposable
Platform binding to the TextInputLayout.
BindValidationEx<PageView, TViewModel, TViewModelProperty>(TViewModel?, Expression<Func<TViewModel, TViewModelProperty?>>, TextInputLayout, IValidationTextFormatter<string>?) IDisposable
Platform binding to the TextInputLayout.
BindValidationEx<PageView, 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.
OneWayBind<TViewModel, PageView, TProp, TOut>(TViewModel?, Expression<Func<TViewModel, TProp?>>, Expression<Func<PageView, TOut>>, Func<TProp, TOut>) IReactiveBinding<TView, TOut>
Binds the specified view model property to the given view, in a one-way (view model to view) fashion, with the value of the view model property mapped through a selector function.
OneWayBind<TViewModel, PageView, TVMProp, TVProp>(TViewModel?, Expression<Func<TViewModel, TVMProp?>>, Expression<Func<PageView, TVProp>>, object?, IBindingTypeConverter?) IReactiveBinding<TView, TVProp>
Binds the given property on the view model to a given property on the view in a one-way (view model to view) fashion.
WhenAnyObservable<PageView, TRet, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>(Expression<Func<PageView, IObservable<T1>?>>, Expression<Func<PageView, IObservable<T2>?>>, Expression<Func<PageView, IObservable<T3>?>>, Expression<Func<PageView, IObservable<T4>?>>, Expression<Func<PageView, IObservable<T5>?>>, Expression<Func<PageView, IObservable<T6>?>>, Expression<Func<PageView, IObservable<T7>?>>, Expression<Func<PageView, IObservable<T8>?>>, Expression<Func<PageView, IObservable<T9>?>>, Expression<Func<PageView, IObservable<T10>?>>, Expression<Func<PageView, IObservable<T11>?>>, Expression<Func<PageView, 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<PageView, TRet, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>(Expression<Func<PageView, IObservable<T1>?>>, Expression<Func<PageView, IObservable<T2>?>>, Expression<Func<PageView, IObservable<T3>?>>, Expression<Func<PageView, IObservable<T4>?>>, Expression<Func<PageView, IObservable<T5>?>>, Expression<Func<PageView, IObservable<T6>?>>, Expression<Func<PageView, IObservable<T7>?>>, Expression<Func<PageView, IObservable<T8>?>>, Expression<Func<PageView, IObservable<T9>?>>, Expression<Func<PageView, IObservable<T10>?>>, Expression<Func<PageView, 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<PageView, TRet, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(Expression<Func<PageView, IObservable<T1>?>>, Expression<Func<PageView, IObservable<T2>?>>, Expression<Func<PageView, IObservable<T3>?>>, Expression<Func<PageView, IObservable<T4>?>>, Expression<Func<PageView, IObservable<T5>?>>, Expression<Func<PageView, IObservable<T6>?>>, Expression<Func<PageView, IObservable<T7>?>>, Expression<Func<PageView, IObservable<T8>?>>, Expression<Func<PageView, IObservable<T9>?>>, Expression<Func<PageView, 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<PageView, TRet, T1, T2, T3, T4, T5, T6, T7, T8, T9>(Expression<Func<PageView, IObservable<T1>?>>, Expression<Func<PageView, IObservable<T2>?>>, Expression<Func<PageView, IObservable<T3>?>>, Expression<Func<PageView, IObservable<T4>?>>, Expression<Func<PageView, IObservable<T5>?>>, Expression<Func<PageView, IObservable<T6>?>>, Expression<Func<PageView, IObservable<T7>?>>, Expression<Func<PageView, IObservable<T8>?>>, Expression<Func<PageView, 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<PageView, TRet, T1, T2, T3, T4, T5, T6, T7, T8>(Expression<Func<PageView, IObservable<T1>?>>, Expression<Func<PageView, IObservable<T2>?>>, Expression<Func<PageView, IObservable<T3>?>>, Expression<Func<PageView, IObservable<T4>?>>, Expression<Func<PageView, IObservable<T5>?>>, Expression<Func<PageView, IObservable<T6>?>>, Expression<Func<PageView, IObservable<T7>?>>, Expression<Func<PageView, 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<PageView, TRet, T1, T2, T3, T4, T5, T6, T7>(Expression<Func<PageView, IObservable<T1>?>>, Expression<Func<PageView, IObservable<T2>?>>, Expression<Func<PageView, IObservable<T3>?>>, Expression<Func<PageView, IObservable<T4>?>>, Expression<Func<PageView, IObservable<T5>?>>, Expression<Func<PageView, IObservable<T6>?>>, Expression<Func<PageView, 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<PageView, TRet, T1, T2, T3, T4, T5, T6>(Expression<Func<PageView, IObservable<T1>?>>, Expression<Func<PageView, IObservable<T2>?>>, Expression<Func<PageView, IObservable<T3>?>>, Expression<Func<PageView, IObservable<T4>?>>, Expression<Func<PageView, IObservable<T5>?>>, Expression<Func<PageView, 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<PageView, TRet, T1, T2, T3, T4, T5>(Expression<Func<PageView, IObservable<T1>?>>, Expression<Func<PageView, IObservable<T2>?>>, Expression<Func<PageView, IObservable<T3>?>>, Expression<Func<PageView, IObservable<T4>?>>, Expression<Func<PageView, 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<PageView, TRet, T1, T2, T3, T4>(Expression<Func<PageView, IObservable<T1>?>>, Expression<Func<PageView, IObservable<T2>?>>, Expression<Func<PageView, IObservable<T3>?>>, Expression<Func<PageView, 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<PageView, TRet, T1, T2, T3>(Expression<Func<PageView, IObservable<T1>?>>, Expression<Func<PageView, IObservable<T2>?>>, Expression<Func<PageView, 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<PageView, TRet, T1, T2>(Expression<Func<PageView, IObservable<T1>?>>, Expression<Func<PageView, IObservable<T2>?>>, Func<T1?, T2?, TRet>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<PageView, TRet>(Expression<Func<PageView, IObservable<TRet>?>>) IObservable<TRet>
Observe a observable which is set to a property, and automatically subscribe to the most recent emitted value.
WhenAnyObservable<PageView, TRet>(Expression<Func<PageView, IObservable<TRet>?>>, Expression<Func<PageView, IObservable<TRet>?>>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<PageView, TRet>(Expression<Func<PageView, IObservable<TRet>?>>, Expression<Func<PageView, IObservable<TRet>?>>, Expression<Func<PageView, IObservable<TRet>?>>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<PageView, TRet>(Expression<Func<PageView, IObservable<TRet>?>>, Expression<Func<PageView, IObservable<TRet>?>>, Expression<Func<PageView, IObservable<TRet>?>>, Expression<Func<PageView, IObservable<TRet>?>>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<PageView, TRet>(Expression<Func<PageView, IObservable<TRet>?>>, Expression<Func<PageView, IObservable<TRet>?>>, Expression<Func<PageView, IObservable<TRet>?>>, Expression<Func<PageView, IObservable<TRet>?>>, Expression<Func<PageView, IObservable<TRet>?>>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<PageView, TRet>(Expression<Func<PageView, IObservable<TRet>?>>, Expression<Func<PageView, IObservable<TRet>?>>, Expression<Func<PageView, IObservable<TRet>?>>, Expression<Func<PageView, IObservable<TRet>?>>, Expression<Func<PageView, IObservable<TRet>?>>, Expression<Func<PageView, IObservable<TRet>?>>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<PageView, TRet>(Expression<Func<PageView, IObservable<TRet>?>>, Expression<Func<PageView, IObservable<TRet>?>>, Expression<Func<PageView, IObservable<TRet>?>>, Expression<Func<PageView, IObservable<TRet>?>>, Expression<Func<PageView, IObservable<TRet>?>>, Expression<Func<PageView, IObservable<TRet>?>>, Expression<Func<PageView, IObservable<TRet>?>>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<PageView, TRet>(Expression<Func<PageView, IObservable<TRet>?>>, Expression<Func<PageView, IObservable<TRet>?>>, Expression<Func<PageView, IObservable<TRet>?>>, Expression<Func<PageView, IObservable<TRet>?>>, Expression<Func<PageView, IObservable<TRet>?>>, Expression<Func<PageView, IObservable<TRet>?>>, Expression<Func<PageView, IObservable<TRet>?>>, Expression<Func<PageView, IObservable<TRet>?>>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<PageView, TRet>(Expression<Func<PageView, IObservable<TRet>?>>, Expression<Func<PageView, IObservable<TRet>?>>, Expression<Func<PageView, IObservable<TRet>?>>, Expression<Func<PageView, IObservable<TRet>?>>, Expression<Func<PageView, IObservable<TRet>?>>, Expression<Func<PageView, IObservable<TRet>?>>, Expression<Func<PageView, IObservable<TRet>?>>, Expression<Func<PageView, IObservable<TRet>?>>, Expression<Func<PageView, IObservable<TRet>?>>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<PageView, TRet>(Expression<Func<PageView, IObservable<TRet>?>>, Expression<Func<PageView, IObservable<TRet>?>>, Expression<Func<PageView, IObservable<TRet>?>>, Expression<Func<PageView, IObservable<TRet>?>>, Expression<Func<PageView, IObservable<TRet>?>>, Expression<Func<PageView, IObservable<TRet>?>>, Expression<Func<PageView, IObservable<TRet>?>>, Expression<Func<PageView, IObservable<TRet>?>>, Expression<Func<PageView, IObservable<TRet>?>>, Expression<Func<PageView, IObservable<TRet>?>>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<PageView, TRet>(Expression<Func<PageView, IObservable<TRet>?>>, Expression<Func<PageView, IObservable<TRet>?>>, Expression<Func<PageView, IObservable<TRet>?>>, Expression<Func<PageView, IObservable<TRet>?>>, Expression<Func<PageView, IObservable<TRet>?>>, Expression<Func<PageView, IObservable<TRet>?>>, Expression<Func<PageView, IObservable<TRet>?>>, Expression<Func<PageView, IObservable<TRet>?>>, Expression<Func<PageView, IObservable<TRet>?>>, Expression<Func<PageView, IObservable<TRet>?>>, Expression<Func<PageView, IObservable<TRet>?>>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<PageView, TRet>(Expression<Func<PageView, IObservable<TRet>?>>, Expression<Func<PageView, IObservable<TRet>?>>, Expression<Func<PageView, IObservable<TRet>?>>, Expression<Func<PageView, IObservable<TRet>?>>, Expression<Func<PageView, IObservable<TRet>?>>, Expression<Func<PageView, IObservable<TRet>?>>, Expression<Func<PageView, IObservable<TRet>?>>, Expression<Func<PageView, IObservable<TRet>?>>, Expression<Func<PageView, IObservable<TRet>?>>, Expression<Func<PageView, IObservable<TRet>?>>, Expression<Func<PageView, IObservable<TRet>?>>, Expression<Func<PageView, IObservable<TRet>?>>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
With<PageView, TKey, TField>(Dictionary<TKey, TField>, IDictionary<TKey, TField>) TBuilder
Adds the specified dictionary to the provided dictionary.

See Also