Class AbstractUnboundPrintPreviewAreaControlControlBindingModel<TView, TViewModel, TControl>
- Assembly
- Whipstaff.Wpf.Syncfusion.SfDiagram.dll
A class that contains Viewmodel bindings for the Syncfusion.Windows.Shared.Printing.PrintPreviewAreaControl control.
public abstract class AbstractUnboundPrintPreviewAreaControlControlBindingModel<TView, TViewModel, TControl> : AbstractUnboundControlControlBindingModel<TView, TViewModel, TControl>, IControlBindingModel<TView, TViewModel> where TView : class, IViewFor<TViewModel> where TViewModel : class, IReactiveObject where TControl : PrintPreviewAreaControl
Type Parameters
TView
TViewModel
TControl
- Inheritance
-
AbstractControlBindingModel<TView, TViewModel, TControl>AbstractUnboundUIElementControlBindingModel<TView, TViewModel, TControl>AbstractUnboundFrameworkElementControlBindingModel<TView, TViewModel, TControl>AbstractUnboundControlControlBindingModel<TView, TViewModel, TControl>AbstractUnboundPrintPreviewAreaControlControlBindingModel<TView, TViewModel, TControl>
- Implements
-
IControlBindingModel<TView, TViewModel>
- Derived
- Inherited Members
Constructors
AbstractUnboundPrintPreviewAreaControlControlBindingModel(Expression<Func<TView, TControl>>)
Initializes a new instance of the AbstractUnboundPrintPreviewAreaControlControlBindingModel<TView, TViewModel, TControl> class.
protected AbstractUnboundPrintPreviewAreaControlControlBindingModel(Expression<Func<TView, TControl>> viewExpression)
Parameters
viewExpression
Expression<Func<TView, TControl>>expression representing the control on the view to bind to.
Properties
FirstCommand
Gets or sets the binding logic for Syncfusion.Windows.Shared.Printing.PrintPreviewAreaControl.FirstCommand
public IOneWayBind<TViewModel, ICommand>? FirstCommand { get; init; }
Property Value
- IOneWayBind<TViewModel, ICommand>
LastCommand
Gets or sets the binding logic for Syncfusion.Windows.Shared.Printing.PrintPreviewAreaControl.LastCommand
public IOneWayBind<TViewModel, ICommand>? LastCommand { get; init; }
Property Value
- IOneWayBind<TViewModel, ICommand>
NextCommand
Gets or sets the binding logic for Syncfusion.Windows.Shared.Printing.PrintPreviewAreaControl.NextCommand
public IOneWayBind<TViewModel, ICommand>? NextCommand { get; init; }
Property Value
- IOneWayBind<TViewModel, ICommand>
PageIndex
Gets or sets the binding logic for Syncfusion.Windows.Shared.Printing.PrintPreviewAreaControl.PageIndex
public IOneOrTwoWayBind<TViewModel, int>? PageIndex { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, int>
PreviousCommand
Gets or sets the binding logic for Syncfusion.Windows.Shared.Printing.PrintPreviewAreaControl.PreviousCommand
public IOneWayBind<TViewModel, ICommand>? PreviousCommand { get; init; }
Property Value
- IOneWayBind<TViewModel, ICommand>
PrintManager
Gets or sets the binding logic for Syncfusion.Windows.Shared.Printing.PrintPreviewAreaControl.PrintManager
public IOneOrTwoWayBind<TViewModel, PrintManager>? PrintManager { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, PrintManager>
TotalPages
Gets or sets the binding logic for Syncfusion.Windows.Shared.Printing.PrintPreviewAreaControl.TotalPages
public IOneWayBind<TViewModel, int>? TotalPages { get; init; }
Property Value
- IOneWayBind<TViewModel, int>
ZoomFactor
Gets or sets the binding logic for Syncfusion.Windows.Shared.Printing.PrintPreviewAreaControl.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
TViewThe view.
viewModel
TViewModelThe 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
TViewThe view.
viewModel
TViewModelThe viewmodel.
compositeDisposable
CompositeDisposableThe disposable container to register disposals against.