Class AbstractUnboundTextBoxBaseControlBindingModel<TView, TViewModel, TControl>
- Assembly
- Whipstaff.Wpf.dll
A class that contains Viewmodel bindings for the TextBoxBase control.
public abstract class AbstractUnboundTextBoxBaseControlBindingModel<TView, TViewModel, TControl> : AbstractUnboundControlControlBindingModel<TView, TViewModel, TControl>, IControlBindingModel<TView, TViewModel> where TView : class, IViewFor<TViewModel> where TViewModel : class, IReactiveObject where TControl : TextBoxBase
Type Parameters
TView
TViewModel
TControl
- Inheritance
-
AbstractControlBindingModel<TView, TViewModel, TControl>AbstractUnboundUIElementControlBindingModel<TView, TViewModel, TControl>AbstractUnboundFrameworkElementControlBindingModel<TView, TViewModel, TControl>AbstractUnboundControlControlBindingModel<TView, TViewModel, TControl>AbstractUnboundTextBoxBaseControlBindingModel<TView, TViewModel, TControl>
- Implements
-
IControlBindingModel<TView, TViewModel>
- Derived
- Inherited Members
Constructors
AbstractUnboundTextBoxBaseControlBindingModel(Expression<Func<TView, TControl>>)
Initializes a new instance of the AbstractUnboundTextBoxBaseControlBindingModel<TView, TViewModel, TControl> class.
protected AbstractUnboundTextBoxBaseControlBindingModel(Expression<Func<TView, TControl>> viewExpression)
Parameters
viewExpression
Expression<Func<TView, TControl>>expression representing the control on the view to bind to.
Properties
AcceptsReturn
Gets or sets the binding logic for AcceptsReturn
public IOneOrTwoWayBind<TViewModel, bool>? AcceptsReturn { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, bool>
AcceptsTab
Gets or sets the binding logic for AcceptsTab
public IOneOrTwoWayBind<TViewModel, bool>? AcceptsTab { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, bool>
AutoWordSelection
Gets or sets the binding logic for AutoWordSelection
public IOneOrTwoWayBind<TViewModel, bool>? AutoWordSelection { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, bool>
CanRedo
Gets or sets the binding logic for CanRedo
public IOneWayBind<TViewModel, bool>? CanRedo { get; init; }
Property Value
- IOneWayBind<TViewModel, bool>
CanUndo
Gets or sets the binding logic for CanUndo
public IOneWayBind<TViewModel, bool>? CanUndo { get; init; }
Property Value
- IOneWayBind<TViewModel, bool>
CaretBrush
Gets or sets the binding logic for CaretBrush
public IOneOrTwoWayBind<TViewModel, Brush>? CaretBrush { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, Brush>
ExtentHeight
Gets or sets the binding logic for ExtentHeight
public IOneWayBind<TViewModel, double>? ExtentHeight { get; init; }
Property Value
- IOneWayBind<TViewModel, double>
ExtentWidth
Gets or sets the binding logic for ExtentWidth
public IOneWayBind<TViewModel, double>? ExtentWidth { get; init; }
Property Value
- IOneWayBind<TViewModel, double>
HorizontalOffset
Gets or sets the binding logic for HorizontalOffset
public IOneWayBind<TViewModel, double>? HorizontalOffset { get; init; }
Property Value
- IOneWayBind<TViewModel, double>
HorizontalScrollBarVisibility
Gets or sets the binding logic for HorizontalScrollBarVisibility
public IOneOrTwoWayBind<TViewModel, ScrollBarVisibility>? HorizontalScrollBarVisibility { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, ScrollBarVisibility>
IsInactiveSelectionHighlightEnabled
Gets or sets the binding logic for IsInactiveSelectionHighlightEnabled
public IOneOrTwoWayBind<TViewModel, bool>? IsInactiveSelectionHighlightEnabled { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, bool>
IsReadOnly
Gets or sets the binding logic for IsReadOnly
public IOneOrTwoWayBind<TViewModel, bool>? IsReadOnly { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, bool>
IsReadOnlyCaretVisible
Gets or sets the binding logic for IsReadOnlyCaretVisible
public IOneOrTwoWayBind<TViewModel, bool>? IsReadOnlyCaretVisible { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, bool>
IsSelectionActive
Gets or sets the binding logic for IsSelectionActive
public IOneWayBind<TViewModel, bool>? IsSelectionActive { get; init; }
Property Value
- IOneWayBind<TViewModel, bool>
IsUndoEnabled
Gets or sets the binding logic for IsUndoEnabled
public IOneOrTwoWayBind<TViewModel, bool>? IsUndoEnabled { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, bool>
SelectionBrush
Gets or sets the binding logic for SelectionBrush
public IOneOrTwoWayBind<TViewModel, Brush>? SelectionBrush { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, Brush>
SelectionOpacity
Gets or sets the binding logic for SelectionOpacity
public IOneOrTwoWayBind<TViewModel, double>? SelectionOpacity { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, double>
SelectionTextBrush
Gets or sets the binding logic for SelectionTextBrush
public IOneOrTwoWayBind<TViewModel, Brush>? SelectionTextBrush { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, Brush>
SpellCheck
Gets or sets the binding logic for SpellCheck
public IOneWayBind<TViewModel, SpellCheck>? SpellCheck { get; init; }
Property Value
- IOneWayBind<TViewModel, SpellCheck>
UndoLimit
Gets or sets the binding logic for UndoLimit
public IOneOrTwoWayBind<TViewModel, int>? UndoLimit { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, int>
VerticalOffset
Gets or sets the binding logic for VerticalOffset
public IOneWayBind<TViewModel, double>? VerticalOffset { get; init; }
Property Value
- IOneWayBind<TViewModel, double>
VerticalScrollBarVisibility
Gets or sets the binding logic for VerticalScrollBarVisibility
public IOneOrTwoWayBind<TViewModel, ScrollBarVisibility>? VerticalScrollBarVisibility { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, ScrollBarVisibility>
ViewportHeight
Gets or sets the binding logic for ViewportHeight
public IOneWayBind<TViewModel, double>? ViewportHeight { get; init; }
Property Value
- IOneWayBind<TViewModel, double>
ViewportWidth
Gets or sets the binding logic for ViewportWidth
public IOneWayBind<TViewModel, double>? ViewportWidth { get; init; }
Property Value
- IOneWayBind<TViewModel, double>
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.