Class AbstractUnboundFlowDocumentReaderControlBindingModel<TView, TViewModel, TControl>
A class that contains Viewmodel bindings for the FlowDocumentReader control.
public abstract class AbstractUnboundFlowDocumentReaderControlBindingModel<TView, TViewModel, TControl> : AbstractUnboundControlControlBindingModel<TView, TViewModel, TControl>, IControlBindingModel<TView, TViewModel> where TView : class, IViewFor<TViewModel> where TViewModel : class, IReactiveObject where TControl : FlowDocumentReader
Type Parameters
TView
TViewModel
TControl
- Inheritance
-
AbstractControlBindingModel<TView, TViewModel, TControl>AbstractUnboundUIElementControlBindingModel<TView, TViewModel, TControl>AbstractUnboundFrameworkElementControlBindingModel<TView, TViewModel, TControl>AbstractUnboundControlControlBindingModel<TView, TViewModel, TControl>AbstractUnboundFlowDocumentReaderControlBindingModel<TView, TViewModel, TControl>
- Implements
-
IControlBindingModel<TView, TViewModel>
- Derived
- Inherited Members
Constructors
AbstractUnboundFlowDocumentReaderControlBindingModel(Expression<Func<TView, TControl>>)
Initializes a new instance of the AbstractUnboundFlowDocumentReaderControlBindingModel<TView, TViewModel, TControl> class.
protected AbstractUnboundFlowDocumentReaderControlBindingModel(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>
CanGoToNextPage
Gets or sets the binding logic for CanGoToNextPage
public IOneWayBind<TViewModel, bool>? CanGoToNextPage { get; init; }
Property Value
- IOneWayBind<TViewModel, bool>
CanGoToPreviousPage
Gets or sets the binding logic for CanGoToPreviousPage
public IOneWayBind<TViewModel, bool>? CanGoToPreviousPage { 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>
Document
Gets or sets the binding logic for Document
public IOneOrTwoWayBind<TViewModel, FlowDocument>? Document { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, FlowDocument>
IsFindEnabled
Gets or sets the binding logic for IsFindEnabled
public IOneOrTwoWayBind<TViewModel, bool>? IsFindEnabled { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, bool>
IsInactiveSelectionHighlightEnabled
Gets or sets the binding logic for IsInactiveSelectionHighlightEnabled
public IOneOrTwoWayBind<TViewModel, bool>? IsInactiveSelectionHighlightEnabled { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, bool>
IsPageViewEnabled
Gets or sets the binding logic for IsPageViewEnabled
public IOneOrTwoWayBind<TViewModel, bool>? IsPageViewEnabled { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, bool>
IsPrintEnabled
Gets or sets the binding logic for IsPrintEnabled
public IOneOrTwoWayBind<TViewModel, bool>? IsPrintEnabled { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, bool>
IsScrollViewEnabled
Gets or sets the binding logic for IsScrollViewEnabled
public IOneOrTwoWayBind<TViewModel, bool>? IsScrollViewEnabled { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, bool>
IsSelectionActive
Gets or sets the binding logic for IsSelectionActive
public IOneWayBind<TViewModel, bool>? IsSelectionActive { get; init; }
Property Value
- IOneWayBind<TViewModel, bool>
IsTwoPageViewEnabled
Gets or sets the binding logic for IsTwoPageViewEnabled
public IOneOrTwoWayBind<TViewModel, bool>? IsTwoPageViewEnabled { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, bool>
MaxZoom
Gets or sets the binding logic for MaxZoom
public IOneOrTwoWayBind<TViewModel, double>? MaxZoom { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, double>
MinZoom
Gets or sets the binding logic for MinZoom
public IOneOrTwoWayBind<TViewModel, double>? MinZoom { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, double>
PageCount
Gets or sets the binding logic for PageCount
public IOneWayBind<TViewModel, int>? PageCount { get; init; }
Property Value
- IOneWayBind<TViewModel, int>
PageNumber
Gets or sets the binding logic for PageNumber
public IOneWayBind<TViewModel, int>? PageNumber { get; init; }
Property Value
- IOneWayBind<TViewModel, int>
Selection
Gets or sets the binding logic for Selection
public IOneWayBind<TViewModel, TextSelection>? Selection { get; init; }
Property Value
- IOneWayBind<TViewModel, TextSelection>
SelectionBrush
Gets or sets the binding logic for SelectionBrush
public IOneOrTwoWayBind<TViewModel, Brush>? SelectionBrush { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, Brush>
SelectionOpacity
Gets or sets the binding logic for SelectionOpacity
public IOneOrTwoWayBind<TViewModel, double>? SelectionOpacity { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, double>
ViewingMode
Gets or sets the binding logic for ViewingMode
public IOneOrTwoWayBind<TViewModel, FlowDocumentReaderViewingMode>? ViewingMode { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, FlowDocumentReaderViewingMode>
Zoom
Gets or sets the binding logic for Zoom
public IOneOrTwoWayBind<TViewModel, double>? Zoom { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, double>
ZoomIncrement
Gets or sets the binding logic for ZoomIncrement
public IOneOrTwoWayBind<TViewModel, double>? ZoomIncrement { 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.