Class AbstractUnboundInputViewControlBindingModel<TView, TViewModel, TControl>
- Assembly
- Whipstaff.Maui.dll
A class that contains Viewmodel bindings for the InputView control.
public abstract class AbstractUnboundInputViewControlBindingModel<TView, TViewModel, TControl> : AbstractUnboundViewControlBindingModel<TView, TViewModel, TControl>, IControlBindingModel<TView, TViewModel> where TView : class, IViewFor<TViewModel> where TViewModel : class, IReactiveObject where TControl : InputView
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>
- Implements
-
IControlBindingModel<TView, TViewModel>
- Derived
- Inherited Members
Constructors
AbstractUnboundInputViewControlBindingModel(Expression<Func<TView, TControl>>)
Initializes a new instance of the AbstractUnboundInputViewControlBindingModel<TView, TViewModel, TControl> class.
protected AbstractUnboundInputViewControlBindingModel(Expression<Func<TView, TControl>> viewExpression)
Parameters
viewExpressionExpression<Func<TView, TControl>>expression representing the control on the view to bind to.
Properties
CharacterSpacing
Gets or sets the binding logic for CharacterSpacing
public IOneOrTwoWayBind<TViewModel, double>? CharacterSpacing { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, double>
CursorPosition
Gets or sets the binding logic for CursorPosition
public IOneOrTwoWayBind<TViewModel, int>? CursorPosition { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, int>
FontAttributes
Gets or sets the binding logic for FontAttributes
public IOneOrTwoWayBind<TViewModel, FontAttributes>? FontAttributes { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, FontAttributes>
FontAutoScalingEnabled
Gets or sets the binding logic for FontAutoScalingEnabled
public IOneOrTwoWayBind<TViewModel, bool>? FontAutoScalingEnabled { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, bool>
FontFamily
Gets or sets the binding logic for FontFamily
public IOneOrTwoWayBind<TViewModel, string>? FontFamily { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, string>
FontSize
Gets or sets the binding logic for FontSize
public IOneOrTwoWayBind<TViewModel, double>? FontSize { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, double>
IsReadOnly
Gets or sets the binding logic for IsReadOnly
public IOneOrTwoWayBind<TViewModel, bool>? IsReadOnly { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, bool>
IsSpellCheckEnabled
Gets or sets the binding logic for IsSpellCheckEnabled
public IOneOrTwoWayBind<TViewModel, bool>? IsSpellCheckEnabled { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, bool>
IsTextPredictionEnabled
Gets or sets the binding logic for IsTextPredictionEnabled
public IOneOrTwoWayBind<TViewModel, bool>? IsTextPredictionEnabled { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, bool>
Keyboard
Gets or sets the binding logic for Keyboard
public IOneOrTwoWayBind<TViewModel, Keyboard>? Keyboard { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, Keyboard>
MaxLength
Gets or sets the binding logic for MaxLength
public IOneOrTwoWayBind<TViewModel, int>? MaxLength { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, int>
Placeholder
Gets or sets the binding logic for Placeholder
public IOneOrTwoWayBind<TViewModel, string>? Placeholder { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, string>
PlaceholderColor
Gets or sets the binding logic for PlaceholderColor
public IOneOrTwoWayBind<TViewModel, Color>? PlaceholderColor { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, Color>
SelectionLength
Gets or sets the binding logic for SelectionLength
public IOneOrTwoWayBind<TViewModel, int>? SelectionLength { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, int>
Text
Gets or sets the binding logic for Text
public IOneOrTwoWayBind<TViewModel, string>? Text { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, string>
TextColor
Gets or sets the binding logic for TextColor
public IOneOrTwoWayBind<TViewModel, Color>? TextColor { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, Color>
TextTransform
Gets or sets the binding logic for TextTransform
public IOneOrTwoWayBind<TViewModel, TextTransform>? TextTransform { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, TextTransform>
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.