Table of Contents

Class AbstractUnboundInputDateControlBindingModel<TView, TViewModel, TControl, TValue>

A class that contains Viewmodel bindings for the InputDate<TValue> control.

public abstract class AbstractUnboundInputDateControlBindingModel<TView, TViewModel, TControl, TValue> : AbstractUnboundInputBaseControlBindingModel<TView, TViewModel, TControl, TValue>, IControlBindingModel<TView, TViewModel> where TView : class, IViewFor<TViewModel> where TViewModel : class, IReactiveObject where TControl : InputDate<TValue>

Type Parameters

TView
TViewModel
TControl
TValue
Inheritance
AbstractControlBindingModel<TView, TViewModel, TControl>
AbstractUnboundInputBaseControlBindingModel<TView, TViewModel, TControl, TValue>
AbstractUnboundInputDateControlBindingModel<TView, TViewModel, TControl, TValue>
Implements
IControlBindingModel<TView, TViewModel>
Derived
Inherited Members

Constructors

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

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

Parameters

viewExpression Expression<Func<TView, TControl>>

expression representing the control on the view to bind to.

Properties

Element

Gets or sets the binding logic for Element

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

Property Value

IOneOrTwoWayBind<TViewModel, ElementReference?>

ParsingErrorMessage

Gets or sets the binding logic for ParsingErrorMessage

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

Property Value

IOneOrTwoWayBind<TViewModel, string>

Type

Gets or sets the binding logic for Type

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

Property Value

IOneOrTwoWayBind<TViewModel, InputDateType>

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.