Class AbstractUnboundPageControlBindingModel<TView, TViewModel, TControl>
- Assembly
- Whipstaff.Maui.dll
A class that contains Viewmodel bindings for the Page control.
public abstract class AbstractUnboundPageControlBindingModel<TView, TViewModel, TControl> : AbstractUnboundVisualElementControlBindingModel<TView, TViewModel, TControl>, IControlBindingModel<TView, TViewModel> where TView : class, IViewFor<TViewModel> where TViewModel : class, IReactiveObject where TControl : Page
Type Parameters
TViewTViewModelTControl
- Inheritance
-
AbstractControlBindingModel<TView, TViewModel, TControl>AbstractUnboundElementControlBindingModel<TView, TViewModel, TControl>AbstractUnboundNavigableElementControlBindingModel<TView, TViewModel, TControl>AbstractUnboundVisualElementControlBindingModel<TView, TViewModel, TControl>AbstractUnboundPageControlBindingModel<TView, TViewModel, TControl>
- Implements
-
IControlBindingModel<TView, TViewModel>
- Derived
- Inherited Members
Constructors
AbstractUnboundPageControlBindingModel(Expression<Func<TView, TControl>>)
Initializes a new instance of the AbstractUnboundPageControlBindingModel<TView, TViewModel, TControl> class.
protected AbstractUnboundPageControlBindingModel(Expression<Func<TView, TControl>> viewExpression)
Parameters
viewExpressionExpression<Func<TView, TControl>>expression representing the control on the view to bind to.
Properties
BackgroundImageSource
Gets or sets the binding logic for BackgroundImageSource
public IOneOrTwoWayBind<TViewModel, ImageSource>? BackgroundImageSource { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, ImageSource>
ContainerArea
Gets or sets the binding logic for ContainerArea
public IOneOrTwoWayBind<TViewModel, Rect>? ContainerArea { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, Rect>
IconImageSource
Gets or sets the binding logic for IconImageSource
public IOneOrTwoWayBind<TViewModel, ImageSource>? IconImageSource { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, ImageSource>
IgnoresContainerArea
Gets or sets the binding logic for IgnoresContainerArea
public IOneOrTwoWayBind<TViewModel, bool>? IgnoresContainerArea { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, bool>
InternalChildren
Gets or sets the binding logic for InternalChildren
public IOneWayBind<TViewModel, ObservableCollection<Element>>? InternalChildren { get; init; }
Property Value
- IOneWayBind<TViewModel, ObservableCollection<Element>>
IsBusy
Gets or sets the binding logic for IsBusy
public IOneOrTwoWayBind<TViewModel, bool>? IsBusy { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, bool>
MenuBarItems
Gets or sets the binding logic for MenuBarItems
public IOneWayBind<TViewModel, IList<MenuBarItem>>? MenuBarItems { get; init; }
Property Value
- IOneWayBind<TViewModel, IList<MenuBarItem>>
Padding
Gets or sets the binding logic for Padding
public IOneOrTwoWayBind<TViewModel, Thickness>? Padding { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, Thickness>
Title
Gets or sets the binding logic for Title
public IOneOrTwoWayBind<TViewModel, string>? Title { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, string>
ToolbarItems
Gets or sets the binding logic for ToolbarItems
public IOneWayBind<TViewModel, IList<ToolbarItem>>? ToolbarItems { get; init; }
Property Value
- IOneWayBind<TViewModel, IList<ToolbarItem>>
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.