Table of Contents

Class AbstractUnboundIndicatorViewControlBindingModel<TView, TViewModel, TControl>

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

A class that contains Viewmodel bindings for the IndicatorView control.

public abstract class AbstractUnboundIndicatorViewControlBindingModel<TView, TViewModel, TControl> : AbstractUnboundTemplatedViewControlBindingModel<TView, TViewModel, TControl>, IControlBindingModel<TView, TViewModel> where TView : class, IViewFor<TViewModel> where TViewModel : class, IReactiveObject where TControl : IndicatorView

Type Parameters

TView
TViewModel
TControl
Inheritance
AbstractControlBindingModel<TView, TViewModel, TControl>
AbstractUnboundElementControlBindingModel<TView, TViewModel, TControl>
AbstractUnboundViewControlBindingModel<TView, TViewModel, TControl>
AbstractUnboundLayoutControlBindingModel<TView, TViewModel, TControl>
AbstractUnboundIndicatorViewControlBindingModel<TView, TViewModel, TControl>
Implements
IControlBindingModel<TView, TViewModel>
Derived
Inherited Members

Constructors

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

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

Parameters

viewExpression Expression<Func<TView, TControl>>

expression representing the control on the view to bind to.

Properties

Count

Gets or sets the binding logic for Count

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

Property Value

IOneOrTwoWayBind<TViewModel, int>

HideSingle

Gets or sets the binding logic for HideSingle

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

Property Value

IOneOrTwoWayBind<TViewModel, bool>

IndicatorColor

Gets or sets the binding logic for IndicatorColor

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

Property Value

IOneOrTwoWayBind<TViewModel, Color>

IndicatorLayout

Gets or sets the binding logic for IndicatorLayout

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

Property Value

IOneOrTwoWayBind<TViewModel, IBindableLayout>

IndicatorSize

Gets or sets the binding logic for IndicatorSize

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

Property Value

IOneOrTwoWayBind<TViewModel, double>

IndicatorTemplate

Gets or sets the binding logic for IndicatorTemplate

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

Property Value

IOneOrTwoWayBind<TViewModel, DataTemplate>

IndicatorsShape

Gets or sets the binding logic for IndicatorsShape

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

Property Value

IOneOrTwoWayBind<TViewModel, IndicatorShape>

ItemsSource

Gets or sets the binding logic for ItemsSource

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

Property Value

IOneOrTwoWayBind<TViewModel, IEnumerable>

MaximumVisible

Gets or sets the binding logic for MaximumVisible

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

Property Value

IOneOrTwoWayBind<TViewModel, int>

Position

Gets or sets the binding logic for Position

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

Property Value

IOneOrTwoWayBind<TViewModel, int>

SelectedIndicatorColor

Gets or sets the binding logic for SelectedIndicatorColor

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

Property Value

IOneOrTwoWayBind<TViewModel, Color>

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.