Table of Contents

Class AbstractUnboundStructuredItemsViewControlBindingModel<TView, TViewModel, TControl>

Namespace
Whipstaff.Maui.Maui.ViewToViewModelBindings.Microsoft.Maui.Controls
Assembly
Whipstaff.Maui.dll

A class that contains Viewmodel bindings for the StructuredItemsView control.

public abstract class AbstractUnboundStructuredItemsViewControlBindingModel<TView, TViewModel, TControl> : AbstractUnboundItemsViewControlBindingModel<TView, TViewModel, TControl>, IControlBindingModel<TView, TViewModel> where TView : class, IViewFor<TViewModel> where TViewModel : class, IReactiveObject where TControl : StructuredItemsView

Type Parameters

TView
TViewModel
TControl
Inheritance
AbstractControlBindingModel<TView, TViewModel, TControl>
AbstractUnboundElementControlBindingModel<TView, TViewModel, TControl>
AbstractUnboundViewControlBindingModel<TView, TViewModel, TControl>
AbstractUnboundItemsViewControlBindingModel<TView, TViewModel, TControl>
AbstractUnboundStructuredItemsViewControlBindingModel<TView, TViewModel, TControl>
Implements
IControlBindingModel<TView, TViewModel>
Derived
Inherited Members

Constructors

AbstractUnboundStructuredItemsViewControlBindingModel(Expression<Func<TView, TControl>>)

protected AbstractUnboundStructuredItemsViewControlBindingModel(Expression<Func<TView, TControl>> viewExpression)

Parameters

viewExpression Expression<Func<TView, TControl>>

expression representing the control on the view to bind to.

Properties

Gets or sets the binding logic for Footer

public IOneOrTwoWayBind<TViewModel, object>? Footer { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, object>

FooterTemplate

Gets or sets the binding logic for FooterTemplate

public IOneOrTwoWayBind<TViewModel, DataTemplate>? FooterTemplate { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, DataTemplate>

Header

Gets or sets the binding logic for Header

public IOneOrTwoWayBind<TViewModel, object>? Header { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, object>

HeaderTemplate

Gets or sets the binding logic for HeaderTemplate

public IOneOrTwoWayBind<TViewModel, DataTemplate>? HeaderTemplate { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, DataTemplate>

ItemSizingStrategy

Gets or sets the binding logic for ItemSizingStrategy

public IOneOrTwoWayBind<TViewModel, ItemSizingStrategy>? ItemSizingStrategy { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, ItemSizingStrategy>

ItemsLayout

Gets or sets the binding logic for ItemsLayout

public IOneOrTwoWayBind<TViewModel, IItemsLayout>? ItemsLayout { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, IItemsLayout>

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 TView

The view.

viewModel TViewModel

The 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 TView

The view.

viewModel TViewModel

The viewmodel.

compositeDisposable CompositeDisposable

The disposable container to register disposals against.