Table of Contents

Class AbstractUnboundNavigationWindowControlBindingModel<TView, TViewModel, TControl>

Namespace
Whipstaff.Wpf.ViewToViewModelBindings.System.Windows.Navigation
Assembly
Whipstaff.Wpf.dll

A class that contains Viewmodel bindings for the NavigationWindow control.

public abstract class AbstractUnboundNavigationWindowControlBindingModel<TView, TViewModel, TControl> : AbstractUnboundWindowControlBindingModel<TView, TViewModel, TControl>, IControlBindingModel<TView, TViewModel> where TView : class, IViewFor<TViewModel> where TViewModel : class, IReactiveObject where TControl : NavigationWindow

Type Parameters

TView
TViewModel
TControl
Inheritance
AbstractControlBindingModel<TView, TViewModel, TControl>
AbstractUnboundUIElementControlBindingModel<TView, TViewModel, TControl>
AbstractUnboundControlControlBindingModel<TView, TViewModel, TControl>
AbstractUnboundWindowControlBindingModel<TView, TViewModel, TControl>
AbstractUnboundNavigationWindowControlBindingModel<TView, TViewModel, TControl>
Implements
IControlBindingModel<TView, TViewModel>
Derived
Inherited Members

Constructors

AbstractUnboundNavigationWindowControlBindingModel(Expression<Func<TView, TControl>>)

protected AbstractUnboundNavigationWindowControlBindingModel(Expression<Func<TView, TControl>> viewExpression)

Parameters

viewExpression Expression<Func<TView, TControl>>

expression representing the control on the view to bind to.

Properties

BackStack

Gets or sets the binding logic for BackStack

public IOneWayBind<TViewModel, IEnumerable>? BackStack { get; init; }

Property Value

IOneWayBind<TViewModel, IEnumerable>

CanGoBack

Gets or sets the binding logic for CanGoBack

public IOneWayBind<TViewModel, bool>? CanGoBack { get; init; }

Property Value

IOneWayBind<TViewModel, bool>

CanGoForward

Gets or sets the binding logic for CanGoForward

public IOneWayBind<TViewModel, bool>? CanGoForward { get; init; }

Property Value

IOneWayBind<TViewModel, bool>

CurrentSource

Gets or sets the binding logic for CurrentSource

public IOneWayBind<TViewModel, Uri>? CurrentSource { get; init; }

Property Value

IOneWayBind<TViewModel, Uri>

ForwardStack

Gets or sets the binding logic for ForwardStack

public IOneWayBind<TViewModel, IEnumerable>? ForwardStack { get; init; }

Property Value

IOneWayBind<TViewModel, IEnumerable>

NavigationService

Gets or sets the binding logic for NavigationService

public IOneWayBind<TViewModel, NavigationService>? NavigationService { get; init; }

Property Value

IOneWayBind<TViewModel, NavigationService>

SandboxExternalContent

Gets or sets the binding logic for SandboxExternalContent

public IOneOrTwoWayBind<TViewModel, bool>? SandboxExternalContent { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, bool>

ShowsNavigationUI

Gets or sets the binding logic for ShowsNavigationUI

public IOneOrTwoWayBind<TViewModel, bool>? ShowsNavigationUI { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, bool>

Source

Gets or sets the binding logic for Source

public IOneOrTwoWayBind<TViewModel, Uri>? Source { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, Uri>

Methods

ApplyBindings(TView, TViewModel, Action<IDisposable>)

Applies the binding between the view and the view model.

public override void ApplyBindings(TView view, TViewModel viewModel, Action<IDisposable> registerForDisposalAction)

Parameters

view TView

The view.

viewModel TViewModel

The viewmodel.

registerForDisposalAction Action<IDisposable>

ApplyBindings(TView, TViewModel, CompositeDisposable)

Applies the binding between the view and the view model.

public override void ApplyBindings(TView view, TViewModel viewModel, CompositeDisposable compositeDisposable)

Parameters

view TView

The view.

viewModel TViewModel

The viewmodel.

compositeDisposable CompositeDisposable

The disposable container to register disposals against.