Class SwitchControlBindingModel<TView, TViewModel>
- Assembly
- Whipstaff.Maui.dll
A class that contains Viewmodel bindings for the Switch control.
public class SwitchControlBindingModel<TView, TViewModel> : AbstractUnboundSwitchControlBindingModel<TView, TViewModel, Switch>, IControlBindingModel<TView, TViewModel> where TView : class, IViewFor<TViewModel> where TViewModel : class, IReactiveObject
Type Parameters
TViewTViewModel
- Inheritance
-
AbstractControlBindingModel<TView, TViewModel, Switch>AbstractUnboundElementControlBindingModel<TView, TViewModel, Switch>AbstractUnboundNavigableElementControlBindingModel<TView, TViewModel, Switch>AbstractUnboundVisualElementControlBindingModel<TView, TViewModel, Switch>AbstractUnboundViewControlBindingModel<TView, TViewModel, Switch>AbstractUnboundSwitchControlBindingModel<TView, TViewModel, Switch>SwitchControlBindingModel<TView, TViewModel>
- Implements
-
IControlBindingModel<TView, TViewModel>
- Inherited Members
Constructors
SwitchControlBindingModel(Expression<Func<TView, Switch>>)
Initializes a new instance of the SwitchControlBindingModel<TView, TViewModel> class.
public SwitchControlBindingModel(Expression<Func<TView, Switch>> viewExpression)
Parameters
viewExpressionExpression<Func<TView, Switch>>expression representing the control on the view to bind to.