Table of Contents

Class AbstractUnboundEntryCellControlBindingModel<TView, TViewModel, TControl>

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

A class that contains Viewmodel bindings for the EntryCell control.

public abstract class AbstractUnboundEntryCellControlBindingModel<TView, TViewModel, TControl> : AbstractUnboundCellControlBindingModel<TView, TViewModel, TControl>, IControlBindingModel<TView, TViewModel> where TView : class, IViewFor<TViewModel> where TViewModel : class, IReactiveObject where TControl : EntryCell

Type Parameters

TView
TViewModel
TControl
Inheritance
AbstractControlBindingModel<TView, TViewModel, TControl>
AbstractUnboundElementControlBindingModel<TView, TViewModel, TControl>
AbstractUnboundCellControlBindingModel<TView, TViewModel, TControl>
AbstractUnboundEntryCellControlBindingModel<TView, TViewModel, TControl>
Implements
IControlBindingModel<TView, TViewModel>
Derived
Inherited Members

Constructors

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

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

Parameters

viewExpression Expression<Func<TView, TControl>>

expression representing the control on the view to bind to.

Properties

HorizontalTextAlignment

Gets or sets the binding logic for HorizontalTextAlignment

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

Property Value

IOneOrTwoWayBind<TViewModel, TextAlignment>

Keyboard

Gets or sets the binding logic for Keyboard

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

Property Value

IOneOrTwoWayBind<TViewModel, Keyboard>

Label

Gets or sets the binding logic for Label

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

Property Value

IOneOrTwoWayBind<TViewModel, string>

LabelColor

Gets or sets the binding logic for LabelColor

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

Property Value

IOneOrTwoWayBind<TViewModel, Color>

Placeholder

Gets or sets the binding logic for Placeholder

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

Property Value

IOneOrTwoWayBind<TViewModel, string>

Text

Gets or sets the binding logic for Text

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

Property Value

IOneOrTwoWayBind<TViewModel, string>

VerticalTextAlignment

Gets or sets the binding logic for VerticalTextAlignment

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

Property Value

IOneOrTwoWayBind<TViewModel, TextAlignment>

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.