Class AbstractUnboundSearchBarControlBindingModel<TView, TViewModel, TControl>
- Assembly
- Whipstaff.Maui.dll
A class that contains Viewmodel bindings for the SearchBar control.
public abstract class AbstractUnboundSearchBarControlBindingModel<TView, TViewModel, TControl> : AbstractUnboundInputViewControlBindingModel<TView, TViewModel, TControl>, IControlBindingModel<TView, TViewModel> where TView : class, IViewFor<TViewModel> where TViewModel : class, IReactiveObject where TControl : SearchBar
Type Parameters
TViewTViewModelTControl
- Inheritance
-
AbstractControlBindingModel<TView, TViewModel, TControl>AbstractUnboundElementControlBindingModel<TView, TViewModel, TControl>AbstractUnboundNavigableElementControlBindingModel<TView, TViewModel, TControl>AbstractUnboundVisualElementControlBindingModel<TView, TViewModel, TControl>AbstractUnboundViewControlBindingModel<TView, TViewModel, TControl>AbstractUnboundInputViewControlBindingModel<TView, TViewModel, TControl>AbstractUnboundSearchBarControlBindingModel<TView, TViewModel, TControl>
- Implements
-
IControlBindingModel<TView, TViewModel>
- Derived
- Inherited Members
Constructors
AbstractUnboundSearchBarControlBindingModel(Expression<Func<TView, TControl>>)
Initializes a new instance of the AbstractUnboundSearchBarControlBindingModel<TView, TViewModel, TControl> class.
protected AbstractUnboundSearchBarControlBindingModel(Expression<Func<TView, TControl>> viewExpression)
Parameters
viewExpressionExpression<Func<TView, TControl>>expression representing the control on the view to bind to.
Properties
CancelButtonColor
Gets or sets the binding logic for CancelButtonColor
public IOneOrTwoWayBind<TViewModel, Color>? CancelButtonColor { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, Color>
HorizontalTextAlignment
Gets or sets the binding logic for HorizontalTextAlignment
public IOneOrTwoWayBind<TViewModel, TextAlignment>? HorizontalTextAlignment { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, TextAlignment>
SearchCommand
Gets or sets the binding logic for SearchCommand
public IOneOrTwoWayBind<TViewModel, ICommand>? SearchCommand { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, ICommand>
SearchCommandParameter
Gets or sets the binding logic for SearchCommandParameter
public IOneOrTwoWayBind<TViewModel, object>? SearchCommandParameter { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, object>
VerticalTextAlignment
Gets or sets the binding logic for VerticalTextAlignment
public IOneOrTwoWayBind<TViewModel, TextAlignment>? VerticalTextAlignment { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, TextAlignment>
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
viewTViewThe view.
viewModelTViewModelThe viewmodel.
registerForDisposalActionAction<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
viewTViewThe view.
viewModelTViewModelThe viewmodel.
compositeDisposableCompositeDisposableThe disposable container to register disposals against.