Class AbstractUnboundReactiveLayoutComponentBaseControlBindingModel<TView, TViewModel, TControl, T>
- Assembly
- Whipstaff.Blazor.dll
A class that contains Viewmodel bindings for the ReactiveUI.Blazor.ReactiveLayoutComponentBase<T> control.
public abstract class AbstractUnboundReactiveLayoutComponentBaseControlBindingModel<TView, TViewModel, TControl, T> : AbstractUnboundLayoutComponentBaseControlBindingModel<TView, TViewModel, TControl>, IControlBindingModel<TView, TViewModel> where TView : class, IViewFor<TViewModel> where TViewModel : class, IReactiveObject where TControl : ReactiveLayoutComponentBase<T> where T : class, INotifyPropertyChanged
Type Parameters
TView
TViewModel
TControl
T
- Inheritance
-
AbstractControlBindingModel<TView, TViewModel, TControl>AbstractUnboundComponentBaseControlBindingModel<TView, TViewModel, TControl>AbstractUnboundLayoutComponentBaseControlBindingModel<TView, TViewModel, TControl>AbstractUnboundReactiveLayoutComponentBaseControlBindingModel<TView, TViewModel, TControl, T>
- Implements
-
IControlBindingModel<TView, TViewModel>
- Derived
- Inherited Members
Constructors
AbstractUnboundReactiveLayoutComponentBaseControlBindingModel(Expression<Func<TView, TControl>>)
Initializes a new instance of the AbstractUnboundReactiveLayoutComponentBaseControlBindingModel<TView, TViewModel, TControl, T> class.
protected AbstractUnboundReactiveLayoutComponentBaseControlBindingModel(Expression<Func<TView, TControl>> viewExpression)
Parameters
viewExpression
Expression<Func<TView, TControl>>expression representing the control on the view to bind to.
Properties
Activated
Gets or sets the binding logic for ReactiveUI.Blazor.ReactiveLayoutComponentBase<T>.Activated
public IOneWayBind<TViewModel, IObservable<Unit>>? Activated { get; init; }
Property Value
- IOneWayBind<TViewModel, IObservable<Unit>>
Deactivated
Gets or sets the binding logic for ReactiveUI.Blazor.ReactiveLayoutComponentBase<T>.Deactivated
public IOneWayBind<TViewModel, IObservable<Unit>>? Deactivated { get; init; }
Property Value
- IOneWayBind<TViewModel, IObservable<Unit>>
ViewModel
Gets or sets the binding logic for ReactiveUI.Blazor.ReactiveLayoutComponentBase<T>.ViewModel
public IOneOrTwoWayBind<TViewModel, T>? ViewModel { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, T>
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
TViewThe view.
viewModel
TViewModelThe 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
TViewThe view.
viewModel
TViewModelThe viewmodel.
compositeDisposable
CompositeDisposableThe disposable container to register disposals against.