Table of Contents

Class AbstractUnboundPrintPreviewControlControlBindingModel<TView, TViewModel, TControl>

Namespace
Whipstaff.Wpf.ViewToViewModelBindings.Syncfusion.Windows.Tools.Controls
Assembly
Whipstaff.Wpf.Syncfusion.SfDiagram.dll

A class that contains Viewmodel bindings for the Syncfusion.Windows.Tools.Controls.PrintPreviewControl control.

public abstract class AbstractUnboundPrintPreviewControlControlBindingModel<TView, TViewModel, TControl> : AbstractUnboundUserControlControlBindingModel<TView, TViewModel, TControl>, IControlBindingModel<TView, TViewModel> where TView : class, IViewFor<TViewModel> where TViewModel : class, IReactiveObject where TControl : PrintPreviewControl

Type Parameters

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

Constructors

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

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

Parameters

viewExpression Expression<Func<TView, TControl>>

expression representing the control on the view to bind to.

Properties

CanMoveFirst

Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.PrintPreviewControl.CanMoveFirst

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

Property Value

IOneWayBind<TViewModel, bool>

CanMoveLast

Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.PrintPreviewControl.CanMoveLast

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

Property Value

IOneWayBind<TViewModel, bool>

CanMoveNext

Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.PrintPreviewControl.CanMoveNext

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

Property Value

IOneWayBind<TViewModel, bool>

CanMovePrevious

Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.PrintPreviewControl.CanMovePrevious

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

Property Value

IOneWayBind<TViewModel, bool>

CurrentPage

Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.PrintPreviewControl.CurrentPage

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

Property Value

IOneOrTwoWayBind<TViewModel, int>

FooterTemplate

Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.PrintPreviewControl.FooterTemplate

public IOneOrTwoWayBind<TViewModel, DataTemplate>? FooterTemplate { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, DataTemplate>

HeaderTemplate

Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.PrintPreviewControl.HeaderTemplate

public IOneOrTwoWayBind<TViewModel, DataTemplate>? HeaderTemplate { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, DataTemplate>

PrintDocument

Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.PrintPreviewControl.PrintDocument

public IOneOrTwoWayBind<TViewModel, IPrintDocument>? PrintDocument { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, IPrintDocument>

TotalPage

Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.PrintPreviewControl.TotalPage

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

Property Value

IOneWayBind<TViewModel, int>

ZoomFactor

Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.PrintPreviewControl.ZoomFactor

public IOneOrTwoWayBind<TViewModel, double>? ZoomFactor { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, double>

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.