Table of Contents

Class AbstractUnboundRangeBaseControlBindingModel<TView, TViewModel, TControl>

A class that contains Viewmodel bindings for the RangeBase control.

public abstract class AbstractUnboundRangeBaseControlBindingModel<TView, TViewModel, TControl> : AbstractUnboundControlControlBindingModel<TView, TViewModel, TControl>, IControlBindingModel<TView, TViewModel> where TView : class, IViewFor<TViewModel> where TViewModel : class, IReactiveObject where TControl : RangeBase

Type Parameters

TView
TViewModel
TControl
Inheritance
AbstractControlBindingModel<TView, TViewModel, TControl>
AbstractUnboundUIElementControlBindingModel<TView, TViewModel, TControl>
AbstractUnboundControlControlBindingModel<TView, TViewModel, TControl>
AbstractUnboundRangeBaseControlBindingModel<TView, TViewModel, TControl>
Implements
IControlBindingModel<TView, TViewModel>
Derived
Inherited Members

Constructors

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

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

Parameters

viewExpression Expression<Func<TView, TControl>>

expression representing the control on the view to bind to.

Properties

LargeChange

Gets or sets the binding logic for LargeChange

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

Property Value

IOneOrTwoWayBind<TViewModel, double>

Maximum

Gets or sets the binding logic for Maximum

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

Property Value

IOneOrTwoWayBind<TViewModel, double>

Minimum

Gets or sets the binding logic for Minimum

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

Property Value

IOneOrTwoWayBind<TViewModel, double>

SmallChange

Gets or sets the binding logic for SmallChange

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

Property Value

IOneOrTwoWayBind<TViewModel, double>

Value

Gets or sets the binding logic for Value

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

Property Value

IOneOrTwoWayBind<TViewModel, double>

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.