Table of Contents

Class AbstractUnboundPrintOptionsControlControlBindingModel<TView, TViewModel, TControl>

Namespace
Whipstaff.Wpf.ViewToViewModelBindings.Syncfusion.Windows.Shared.Printing
Assembly
Whipstaff.Wpf.Syncfusion.SfDiagram.dll

A class that contains Viewmodel bindings for the Syncfusion.Windows.Shared.Printing.PrintOptionsControl control.

public abstract class AbstractUnboundPrintOptionsControlControlBindingModel<TView, TViewModel, TControl> : AbstractUnboundControlControlBindingModel<TView, TViewModel, TControl>, IControlBindingModel<TView, TViewModel> where TView : class, IViewFor<TViewModel> where TViewModel : class, IReactiveObject where TControl : PrintOptionsControl

Type Parameters

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

Constructors

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

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

Parameters

viewExpression Expression<Func<TView, TControl>>

expression representing the control on the view to bind to.

Properties

CopiesCount

Gets or sets the binding logic for Syncfusion.Windows.Shared.Printing.PrintOptionsControl.CopiesCount

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

Property Value

IOneOrTwoWayBind<TViewModel, int>

FromPage

Gets or sets the binding logic for Syncfusion.Windows.Shared.Printing.PrintOptionsControl.FromPage

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

Property Value

IOneOrTwoWayBind<TViewModel, int>

MarginOptions

Gets or sets the binding logic for Syncfusion.Windows.Shared.Printing.PrintOptionsControl.MarginOptions

public IOneOrTwoWayBind<TViewModel, List<PrintPageMargin>>? MarginOptions { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, List<PrintPageMargin>>

OrientationOptions

Gets or sets the binding logic for Syncfusion.Windows.Shared.Printing.PrintOptionsControl.OrientationOptions

public IOneWayBind<TViewModel, List<PrintPageOrientation>>? OrientationOptions { get; init; }

Property Value

IOneWayBind<TViewModel, List<PrintPageOrientation>>

PageSizeOptions

Gets or sets the binding logic for Syncfusion.Windows.Shared.Printing.PrintOptionsControl.PageSizeOptions

public IOneOrTwoWayBind<TViewModel, List<PrintPageSize>>? PageSizeOptions { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, List<PrintPageSize>>

PrintCommand

Gets or sets the binding logic for Syncfusion.Windows.Shared.Printing.PrintOptionsControl.PrintCommand

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

Property Value

IOneWayBind<TViewModel, ICommand>

PrintOrientation

Gets or sets the binding logic for Syncfusion.Windows.Shared.Printing.PrintOptionsControl.PrintOrientation

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

Property Value

IOneOrTwoWayBind<TViewModel, PrintOrientation>

PrintPageCollationOptions

Gets or sets the binding logic for Syncfusion.Windows.Shared.Printing.PrintOptionsControl.PrintPageCollationOptions

public IOneWayBind<TViewModel, List<PrintPageCollation>>? PrintPageCollationOptions { get; init; }

Property Value

IOneWayBind<TViewModel, List<PrintPageCollation>>

PrintPageRangeSelectionOptions

Gets or sets the binding logic for Syncfusion.Windows.Shared.Printing.PrintOptionsControl.PrintPageRangeSelectionOptions

public IOneWayBind<TViewModel, List<PrintPageRangeSelection>>? PrintPageRangeSelectionOptions { get; init; }

Property Value

IOneWayBind<TViewModel, List<PrintPageRangeSelection>>

Printers

Gets or sets the binding logic for Syncfusion.Windows.Shared.Printing.PrintOptionsControl.Printers

public IOneWayBind<TViewModel, List<PrintQueueOption>>? Printers { get; init; }

Property Value

IOneWayBind<TViewModel, List<PrintQueueOption>>

QuickPrintCommand

Gets or sets the binding logic for Syncfusion.Windows.Shared.Printing.PrintOptionsControl.QuickPrintCommand

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

Property Value

IOneWayBind<TViewModel, ICommand>

ScaleOptions

Gets or sets the binding logic for Syncfusion.Windows.Shared.Printing.PrintOptionsControl.ScaleOptions

public IOneWayBind<TViewModel, List<PrintScaleInfo>>? ScaleOptions { get; init; }

Property Value

IOneWayBind<TViewModel, List<PrintScaleInfo>>

SelectedCollation

Gets or sets the binding logic for Syncfusion.Windows.Shared.Printing.PrintOptionsControl.SelectedCollation

public IOneOrTwoWayBind<TViewModel, Collation>? SelectedCollation { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, Collation>

SelectedPageSize

Gets or sets the binding logic for Syncfusion.Windows.Shared.Printing.PrintOptionsControl.SelectedPageSize

public IOneOrTwoWayBind<TViewModel, PrintPageSize>? SelectedPageSize { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, PrintPageSize>

SelectedPrintPageRange

Gets or sets the binding logic for Syncfusion.Windows.Shared.Printing.PrintOptionsControl.SelectedPrintPageRange

public IOneOrTwoWayBind<TViewModel, PageRangeSelection>? SelectedPrintPageRange { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, PageRangeSelection>

SelectedPrinter

Gets or sets the binding logic for Syncfusion.Windows.Shared.Printing.PrintOptionsControl.SelectedPrinter

public IOneOrTwoWayBind<TViewModel, PrintQueueOption>? SelectedPrinter { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, PrintQueueOption>

SelectedScaleIndex

Gets or sets the binding logic for Syncfusion.Windows.Shared.Printing.PrintOptionsControl.SelectedScaleIndex

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

Property Value

IOneOrTwoWayBind<TViewModel, int>

ToPage

Gets or sets the binding logic for Syncfusion.Windows.Shared.Printing.PrintOptionsControl.ToPage

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

Property Value

IOneOrTwoWayBind<TViewModel, int>

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.