Class AbstractUnboundDocumentViewerControlBindingModel<TView, TViewModel, TControl>
A class that contains Viewmodel bindings for the DocumentViewer control.
public abstract class AbstractUnboundDocumentViewerControlBindingModel<TView, TViewModel, TControl> : AbstractUnboundDocumentViewerBaseControlBindingModel<TView, TViewModel, TControl>, IControlBindingModel<TView, TViewModel> where TView : class, IViewFor<TViewModel> where TViewModel : class, IReactiveObject where TControl : DocumentViewer
Type Parameters
TView
TViewModel
TControl
- Inheritance
-
AbstractControlBindingModel<TView, TViewModel, TControl>AbstractUnboundUIElementControlBindingModel<TView, TViewModel, TControl>AbstractUnboundFrameworkElementControlBindingModel<TView, TViewModel, TControl>AbstractUnboundControlControlBindingModel<TView, TViewModel, TControl>AbstractUnboundDocumentViewerBaseControlBindingModel<TView, TViewModel, TControl>AbstractUnboundDocumentViewerControlBindingModel<TView, TViewModel, TControl>
- Implements
-
IControlBindingModel<TView, TViewModel>
- Derived
- Inherited Members
Constructors
AbstractUnboundDocumentViewerControlBindingModel(Expression<Func<TView, TControl>>)
Initializes a new instance of the AbstractUnboundDocumentViewerControlBindingModel<TView, TViewModel, TControl> class.
protected AbstractUnboundDocumentViewerControlBindingModel(Expression<Func<TView, TControl>> viewExpression)
Parameters
viewExpression
Expression<Func<TView, TControl>>expression representing the control on the view to bind to.
Properties
CanDecreaseZoom
Gets or sets the binding logic for CanDecreaseZoom
public IOneWayBind<TViewModel, bool>? CanDecreaseZoom { get; init; }
Property Value
- IOneWayBind<TViewModel, bool>
CanIncreaseZoom
Gets or sets the binding logic for CanIncreaseZoom
public IOneWayBind<TViewModel, bool>? CanIncreaseZoom { get; init; }
Property Value
- IOneWayBind<TViewModel, bool>
CanMoveDown
Gets or sets the binding logic for CanMoveDown
public IOneWayBind<TViewModel, bool>? CanMoveDown { get; init; }
Property Value
- IOneWayBind<TViewModel, bool>
CanMoveLeft
Gets or sets the binding logic for CanMoveLeft
public IOneWayBind<TViewModel, bool>? CanMoveLeft { get; init; }
Property Value
- IOneWayBind<TViewModel, bool>
CanMoveRight
Gets or sets the binding logic for CanMoveRight
public IOneWayBind<TViewModel, bool>? CanMoveRight { get; init; }
Property Value
- IOneWayBind<TViewModel, bool>
CanMoveUp
Gets or sets the binding logic for CanMoveUp
public IOneWayBind<TViewModel, bool>? CanMoveUp { get; init; }
Property Value
- IOneWayBind<TViewModel, bool>
ExtentHeight
Gets or sets the binding logic for ExtentHeight
public IOneWayBind<TViewModel, double>? ExtentHeight { get; init; }
Property Value
- IOneWayBind<TViewModel, double>
ExtentWidth
Gets or sets the binding logic for ExtentWidth
public IOneWayBind<TViewModel, double>? ExtentWidth { get; init; }
Property Value
- IOneWayBind<TViewModel, double>
FitToHeightCommand
Gets or sets the binding logic for FitToHeightCommand
public IOneWayBind<TViewModel, RoutedUICommand>? FitToHeightCommand { get; init; }
Property Value
- IOneWayBind<TViewModel, RoutedUICommand>
FitToMaxPagesAcrossCommand
Gets or sets the binding logic for FitToMaxPagesAcrossCommand
public IOneWayBind<TViewModel, RoutedUICommand>? FitToMaxPagesAcrossCommand { get; init; }
Property Value
- IOneWayBind<TViewModel, RoutedUICommand>
FitToWidthCommand
Gets or sets the binding logic for FitToWidthCommand
public IOneWayBind<TViewModel, RoutedUICommand>? FitToWidthCommand { get; init; }
Property Value
- IOneWayBind<TViewModel, RoutedUICommand>
HorizontalOffset
Gets or sets the binding logic for HorizontalOffset
public IOneOrTwoWayBind<TViewModel, double>? HorizontalOffset { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, double>
HorizontalPageSpacing
Gets or sets the binding logic for HorizontalPageSpacing
public IOneOrTwoWayBind<TViewModel, double>? HorizontalPageSpacing { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, double>
MaxPagesAcross
Gets or sets the binding logic for MaxPagesAcross
public IOneOrTwoWayBind<TViewModel, int>? MaxPagesAcross { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, int>
ShowPageBorders
Gets or sets the binding logic for ShowPageBorders
public IOneOrTwoWayBind<TViewModel, bool>? ShowPageBorders { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, bool>
VerticalOffset
Gets or sets the binding logic for VerticalOffset
public IOneOrTwoWayBind<TViewModel, double>? VerticalOffset { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, double>
VerticalPageSpacing
Gets or sets the binding logic for VerticalPageSpacing
public IOneOrTwoWayBind<TViewModel, double>? VerticalPageSpacing { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, double>
ViewThumbnailsCommand
Gets or sets the binding logic for ViewThumbnailsCommand
public IOneWayBind<TViewModel, RoutedUICommand>? ViewThumbnailsCommand { get; init; }
Property Value
- IOneWayBind<TViewModel, RoutedUICommand>
ViewportHeight
Gets or sets the binding logic for ViewportHeight
public IOneWayBind<TViewModel, double>? ViewportHeight { get; init; }
Property Value
- IOneWayBind<TViewModel, double>
ViewportWidth
Gets or sets the binding logic for ViewportWidth
public IOneWayBind<TViewModel, double>? ViewportWidth { get; init; }
Property Value
- IOneWayBind<TViewModel, double>
Zoom
Gets or sets the binding logic for Zoom
public IOneOrTwoWayBind<TViewModel, double>? Zoom { 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.