Class AbstractUnboundNavigationPageControlBindingModel<TView, TViewModel, TControl>
- Assembly
- Whipstaff.Maui.dll
A class that contains Viewmodel bindings for the NavigationPage control.
public abstract class AbstractUnboundNavigationPageControlBindingModel<TView, TViewModel, TControl> : AbstractUnboundPageControlBindingModel<TView, TViewModel, TControl>, IControlBindingModel<TView, TViewModel> where TView : class, IViewFor<TViewModel> where TViewModel : class, IReactiveObject where TControl : NavigationPage
Type Parameters
TViewTViewModelTControl
- Inheritance
-
AbstractControlBindingModel<TView, TViewModel, TControl>AbstractUnboundElementControlBindingModel<TView, TViewModel, TControl>AbstractUnboundNavigableElementControlBindingModel<TView, TViewModel, TControl>AbstractUnboundVisualElementControlBindingModel<TView, TViewModel, TControl>AbstractUnboundPageControlBindingModel<TView, TViewModel, TControl>AbstractUnboundNavigationPageControlBindingModel<TView, TViewModel, TControl>
- Implements
-
IControlBindingModel<TView, TViewModel>
- Derived
- Inherited Members
Constructors
AbstractUnboundNavigationPageControlBindingModel(Expression<Func<TView, TControl>>)
Initializes a new instance of the AbstractUnboundNavigationPageControlBindingModel<TView, TViewModel, TControl> class.
protected AbstractUnboundNavigationPageControlBindingModel(Expression<Func<TView, TControl>> viewExpression)
Parameters
viewExpressionExpression<Func<TView, TControl>>expression representing the control on the view to bind to.
Properties
BarBackground
Gets or sets the binding logic for BarBackground
public IOneOrTwoWayBind<TViewModel, Brush>? BarBackground { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, Brush>
BarBackgroundColor
Gets or sets the binding logic for BarBackgroundColor
public IOneOrTwoWayBind<TViewModel, Color>? BarBackgroundColor { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, Color>
BarTextColor
Gets or sets the binding logic for BarTextColor
public IOneOrTwoWayBind<TViewModel, Color>? BarTextColor { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, Color>
CurrentPage
Gets or sets the binding logic for CurrentPage
public IOneWayBind<TViewModel, Page>? CurrentPage { get; init; }
Property Value
- IOneWayBind<TViewModel, Page>
RootPage
Gets or sets the binding logic for RootPage
public IOneWayBind<TViewModel, Page>? RootPage { get; init; }
Property Value
- IOneWayBind<TViewModel, Page>
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.