Class AbstractUnboundPrintPreviewControlControlBindingModel<TView, TViewModel, TControl>
- Assembly
- Whipstaff.Wpf.Syncfusion.SfDiagram.dll
A class that contains Viewmodel bindings for the Syncfusion.UI.Xaml.Diagram.Controls.PrintPreviewControl control.
public abstract class AbstractUnboundPrintPreviewControlControlBindingModel<TView, TViewModel, TControl> : AbstractUnboundControlControlBindingModel<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>AbstractUnboundFrameworkElementControlBindingModel<TView, TViewModel, TControl>AbstractUnboundControlControlBindingModel<TView, TViewModel, TControl>AbstractUnboundPrintPreviewControlControlBindingModel<TView, TViewModel, TControl>
- Implements
-
IControlBindingModel<TView, TViewModel>
- Derived
- Inherited Members
Constructors
AbstractUnboundPrintPreviewControlControlBindingModel(Expression<Func<TView, TControl>>)
Initializes a new instance of the AbstractUnboundPrintPreviewControlControlBindingModel<TView, TViewModel, TControl> class.
protected AbstractUnboundPrintPreviewControlControlBindingModel(Expression<Func<TView, TControl>> viewExpression)
Parameters
viewExpression
Expression<Func<TView, TControl>>expression representing the control on the view to bind to.
Properties
AdvancedCommand
Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.Controls.PrintPreviewControl.AdvancedCommand
public IOneOrTwoWayBind<TViewModel, ICommand>? AdvancedCommand { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, ICommand>
CancelCommand
Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.Controls.PrintPreviewControl.CancelCommand
public IOneOrTwoWayBind<TViewModel, ICommand>? CancelCommand { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, ICommand>
CurrentPage
Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.Controls.PrintPreviewControl.CurrentPage
public IOneOrTwoWayBind<TViewModel, int>? CurrentPage { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, int>
PageCount
Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.Controls.PrintPreviewControl.PageCount
public IOneWayBind<TViewModel, int>? PageCount { get; init; }
Property Value
- IOneWayBind<TViewModel, int>
PageNavigationCommand
Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.Controls.PrintPreviewControl.PageNavigationCommand
public IOneOrTwoWayBind<TViewModel, ICommand>? PageNavigationCommand { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, ICommand>
PrintCommand
Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.Controls.PrintPreviewControl.PrintCommand
public IOneOrTwoWayBind<TViewModel, ICommand>? PrintCommand { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, ICommand>
SelectionChangeCommand
Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.Controls.PrintPreviewControl.SelectionChangeCommand
public IOneOrTwoWayBind<TViewModel, ICommand>? SelectionChangeCommand { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, ICommand>
Visual
Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.Controls.PrintPreviewControl.Visual
public IOneOrTwoWayBind<TViewModel, VisualBrush>? Visual { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, VisualBrush>
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.