Class AbstractUnboundPageNavigatorControlBindingModel<TView, TViewModel, TControl>
- Assembly
- Whipstaff.Wpf.Syncfusion.SfDiagram.dll
A class that contains Viewmodel bindings for the Syncfusion.UI.Xaml.Diagram.Controls.PageNavigator control.
public abstract class AbstractUnboundPageNavigatorControlBindingModel<TView, TViewModel, TControl> : AbstractUnboundControlControlBindingModel<TView, TViewModel, TControl>, IControlBindingModel<TView, TViewModel> where TView : class, IViewFor<TViewModel> where TViewModel : class, IReactiveObject where TControl : PageNavigator
Type Parameters
TViewTViewModelTControl
- Inheritance
-
AbstractControlBindingModel<TView, TViewModel, TControl>AbstractUnboundUIElementControlBindingModel<TView, TViewModel, TControl>AbstractUnboundFrameworkElementControlBindingModel<TView, TViewModel, TControl>AbstractUnboundControlControlBindingModel<TView, TViewModel, TControl>AbstractUnboundPageNavigatorControlBindingModel<TView, TViewModel, TControl>
- Implements
-
IControlBindingModel<TView, TViewModel>
- Derived
- Inherited Members
Constructors
AbstractUnboundPageNavigatorControlBindingModel(Expression<Func<TView, TControl>>)
Initializes a new instance of the AbstractUnboundPageNavigatorControlBindingModel<TView, TViewModel, TControl> class.
protected AbstractUnboundPageNavigatorControlBindingModel(Expression<Func<TView, TControl>> viewExpression)
Parameters
viewExpressionExpression<Func<TView, TControl>>expression representing the control on the view to bind to.
Properties
CurrentPage
Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.Controls.PageNavigator.CurrentPage
public IOneOrTwoWayBind<TViewModel, int>? CurrentPage { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, int>
CurrentPageChangedCommand
Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.Controls.PageNavigator.CurrentPageChangedCommand
public IOneOrTwoWayBind<TViewModel, ICommand>? CurrentPageChangedCommand { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, ICommand>
PageCount
Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.Controls.PageNavigator.PageCount
public IOneWayBind<TViewModel, int>? PageCount { get; init; }
Property Value
- IOneWayBind<TViewModel, int>
PageDecreaseCommand
Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.Controls.PageNavigator.PageDecreaseCommand
public IOneOrTwoWayBind<TViewModel, ICommand>? PageDecreaseCommand { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, ICommand>
PageIncreaseCommand
Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.Controls.PageNavigator.PageIncreaseCommand
public IOneOrTwoWayBind<TViewModel, ICommand>? PageIncreaseCommand { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, ICommand>
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
viewTViewThe view.
viewModelTViewModelThe viewmodel.
registerForDisposalActionAction<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
viewTViewThe view.
viewModelTViewModelThe viewmodel.
compositeDisposableCompositeDisposableThe disposable container to register disposals against.