Table of Contents

Class AbstractUnboundInputRadioGroupControlBindingModel<TView, TViewModel, TControl, TValue>

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

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

Type Parameters

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

Constructors

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

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

Parameters

viewExpression Expression<Func<TView, TControl>>

expression representing the control on the view to bind to.

Properties

ChildContent

Gets or sets the binding logic for ChildContent

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

Property Value

IOneOrTwoWayBind<TViewModel, RenderFragment>

Name

Gets or sets the binding logic for Name

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

Property Value

IOneOrTwoWayBind<TViewModel, string>

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.