Table of Contents

Class AbstractUnboundPageNavigatorControlBindingModel<TView, TViewModel, TControl>

Namespace
Whipstaff.Wpf.ViewToViewModelBindings.Syncfusion.UI.Xaml.Diagram.Controls
Assembly
Whipstaff.Wpf.Syncfusion.SfDiagram.dll

A class that contains Viewmodel bindings for the Syncfusion.UI.Xaml.Diagram.Controls.PageNavigator control.

public abstract class AbstractUnboundPageNavigatorControlBindingModel<TView, TViewModel, TControl> : AbstractUnboundControlControlBindingModel<TView, TViewModel, TControl>, IControlBindingModel<TView, TViewModel> where TView : class, IViewFor<TViewModel> where TViewModel : class, IReactiveObject where TControl : PageNavigator

Type Parameters

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

Constructors

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

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

Parameters

viewExpression Expression<Func<TView, TControl>>

expression representing the control on the view to bind to.

Properties

CurrentPage

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.Controls.PageNavigator.CurrentPage

public IOneOrTwoWayBind<TViewModel, int>? CurrentPage { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, int>

CurrentPageChangedCommand

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.Controls.PageNavigator.CurrentPageChangedCommand

public IOneOrTwoWayBind<TViewModel, ICommand>? CurrentPageChangedCommand { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, ICommand>

PageCount

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.Controls.PageNavigator.PageCount

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

Property Value

IOneWayBind<TViewModel, int>

PageDecreaseCommand

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.Controls.PageNavigator.PageDecreaseCommand

public IOneOrTwoWayBind<TViewModel, ICommand>? PageDecreaseCommand { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, ICommand>

PageIncreaseCommand

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.Controls.PageNavigator.PageIncreaseCommand

public IOneOrTwoWayBind<TViewModel, ICommand>? PageIncreaseCommand { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, ICommand>

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.