Table of Contents

Class AbstractUnboundPrintingServiceControlBindingModel<TView, TViewModel, TControl>

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

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

public abstract class AbstractUnboundPrintingServiceControlBindingModel<TView, TViewModel, TControl> : AbstractUnboundControlControlBindingModel<TView, TViewModel, TControl>, IControlBindingModel<TView, TViewModel> where TView : class, IViewFor<TViewModel> where TViewModel : class, IReactiveObject where TControl : PrintingService

Type Parameters

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

Constructors

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

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

Parameters

viewExpression Expression<Func<TView, TControl>>

expression representing the control on the view to bind to.

Properties

DPIX

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.PrintingService.DPIX

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

Property Value

IOneOrTwoWayBind<TViewModel, double>

DPIY

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.PrintingService.DPIY

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

Property Value

IOneOrTwoWayBind<TViewModel, double>

PrintManager

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.PrintingService.PrintManager

public IOneOrTwoWayBind<TViewModel, DiagramPrintManager>? PrintManager { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, DiagramPrintManager>

PrintMediaSize

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.PrintingService.PrintMediaSize

public IOneOrTwoWayBind<TViewModel, PageMediaSizeName>? PrintMediaSize { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, PageMediaSizeName>

PrintOrientation

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.PrintingService.PrintOrientation

public IOneOrTwoWayBind<TViewModel, PageOrientation>? PrintOrientation { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, PageOrientation>

PrintPreviewStretch

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.PrintingService.PrintPreviewStretch

public IOneOrTwoWayBind<TViewModel, Stretch>? PrintPreviewStretch { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, Stretch>

PrintSettings

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.PrintingService.PrintSettings

public IOneOrTwoWayBind<TViewModel, PrintSettingsBase>? PrintSettings { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, PrintSettingsBase>

ShowDialog

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.PrintingService.ShowDialog

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

Property Value

IOneOrTwoWayBind<TViewModel, bool>

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.