Class AbstractUnboundEntryCellControlBindingModel<TView, TViewModel, TControl>
- 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
TViewTViewModelTControl
- 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>>)
Initializes a new instance of the AbstractUnboundEntryCellControlBindingModel<TView, TViewModel, TControl> class.
protected AbstractUnboundEntryCellControlBindingModel(Expression<Func<TView, TControl>> viewExpression)
Parameters
viewExpressionExpression<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
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.