Class AbstractUnboundApplicationControlBindingModel<TView, TViewModel, TControl>
- Assembly
- Whipstaff.Maui.dll
A class that contains Viewmodel bindings for the Application control.
public abstract class AbstractUnboundApplicationControlBindingModel<TView, TViewModel, TControl> : AbstractUnboundElementControlBindingModel<TView, TViewModel, TControl>, IControlBindingModel<TView, TViewModel> where TView : class, IViewFor<TViewModel> where TViewModel : class, IReactiveObject where TControl : Application
Type Parameters
TViewTViewModelTControl
- Inheritance
-
AbstractControlBindingModel<TView, TViewModel, TControl>AbstractUnboundElementControlBindingModel<TView, TViewModel, TControl>AbstractUnboundApplicationControlBindingModel<TView, TViewModel, TControl>
- Implements
-
IControlBindingModel<TView, TViewModel>
- Derived
- Inherited Members
Constructors
AbstractUnboundApplicationControlBindingModel(Expression<Func<TView, TControl>>)
Initializes a new instance of the AbstractUnboundApplicationControlBindingModel<TView, TViewModel, TControl> class.
protected AbstractUnboundApplicationControlBindingModel(Expression<Func<TView, TControl>> viewExpression)
Parameters
viewExpressionExpression<Func<TView, TControl>>expression representing the control on the view to bind to.
Properties
AccentColor
Gets or sets the binding logic for AccentColor
public IOneOrTwoWayBind<TViewModel, Color>? AccentColor { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, Color>
AppLinks
Gets or sets the binding logic for AppLinks
public IOneWayBind<TViewModel, IAppLinks>? AppLinks { get; init; }
Property Value
- IOneWayBind<TViewModel, IAppLinks>
Current
Gets or sets the binding logic for Current
public IOneOrTwoWayBind<TViewModel, Application>? Current { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, Application>
MainPage
Gets or sets the binding logic for MainPage
public IOneOrTwoWayBind<TViewModel, Page>? MainPage { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, Page>
NavigationProxy
Gets or sets the binding logic for NavigationProxy
public IOneWayBind<TViewModel, NavigationProxy>? NavigationProxy { get; init; }
Property Value
- IOneWayBind<TViewModel, NavigationProxy>
PlatformAppTheme
Gets or sets the binding logic for PlatformAppTheme
public IOneWayBind<TViewModel, AppTheme>? PlatformAppTheme { get; init; }
Property Value
- IOneWayBind<TViewModel, AppTheme>
RequestedTheme
Gets or sets the binding logic for RequestedTheme
public IOneWayBind<TViewModel, AppTheme>? RequestedTheme { get; init; }
Property Value
- IOneWayBind<TViewModel, AppTheme>
Resources
Gets or sets the binding logic for Resources
public IOneOrTwoWayBind<TViewModel, ResourceDictionary>? Resources { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, ResourceDictionary>
UserAppTheme
Gets or sets the binding logic for UserAppTheme
public IOneOrTwoWayBind<TViewModel, AppTheme>? UserAppTheme { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, AppTheme>
Windows
Gets or sets the binding logic for Windows
public IOneWayBind<TViewModel, IReadOnlyList<Window>>? Windows { get; init; }
Property Value
- IOneWayBind<TViewModel, IReadOnlyList<Window>>
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.