Class AbstractUnboundTickBarControlBindingModel<TView, TViewModel, TControl>
- Assembly
- Whipstaff.Wpf.dll
A class that contains Viewmodel bindings for the TickBar control.
public abstract class AbstractUnboundTickBarControlBindingModel<TView, TViewModel, TControl> : AbstractUnboundFrameworkElementControlBindingModel<TView, TViewModel, TControl>, IControlBindingModel<TView, TViewModel> where TView : class, IViewFor<TViewModel> where TViewModel : class, IReactiveObject where TControl : TickBar
Type Parameters
TView
TViewModel
TControl
- Inheritance
-
AbstractControlBindingModel<TView, TViewModel, TControl>AbstractUnboundUIElementControlBindingModel<TView, TViewModel, TControl>AbstractUnboundFrameworkElementControlBindingModel<TView, TViewModel, TControl>AbstractUnboundTickBarControlBindingModel<TView, TViewModel, TControl>
- Implements
-
IControlBindingModel<TView, TViewModel>
- Derived
- Inherited Members
Constructors
AbstractUnboundTickBarControlBindingModel(Expression<Func<TView, TControl>>)
Initializes a new instance of the AbstractUnboundTickBarControlBindingModel<TView, TViewModel, TControl> class.
protected AbstractUnboundTickBarControlBindingModel(Expression<Func<TView, TControl>> viewExpression)
Parameters
viewExpression
Expression<Func<TView, TControl>>expression representing the control on the view to bind to.
Properties
Fill
Gets or sets the binding logic for Fill
public IOneOrTwoWayBind<TViewModel, Brush>? Fill { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, Brush>
IsDirectionReversed
Gets or sets the binding logic for IsDirectionReversed
public IOneOrTwoWayBind<TViewModel, bool>? IsDirectionReversed { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, bool>
IsSelectionRangeEnabled
Gets or sets the binding logic for IsSelectionRangeEnabled
public IOneOrTwoWayBind<TViewModel, bool>? IsSelectionRangeEnabled { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, bool>
Maximum
Gets or sets the binding logic for Maximum
public IOneOrTwoWayBind<TViewModel, double>? Maximum { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, double>
Minimum
Gets or sets the binding logic for Minimum
public IOneOrTwoWayBind<TViewModel, double>? Minimum { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, double>
Placement
Gets or sets the binding logic for Placement
public IOneOrTwoWayBind<TViewModel, TickBarPlacement>? Placement { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, TickBarPlacement>
ReservedSpace
Gets or sets the binding logic for ReservedSpace
public IOneOrTwoWayBind<TViewModel, double>? ReservedSpace { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, double>
SelectionEnd
Gets or sets the binding logic for SelectionEnd
public IOneOrTwoWayBind<TViewModel, double>? SelectionEnd { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, double>
SelectionStart
Gets or sets the binding logic for SelectionStart
public IOneOrTwoWayBind<TViewModel, double>? SelectionStart { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, double>
TickFrequency
Gets or sets the binding logic for TickFrequency
public IOneOrTwoWayBind<TViewModel, double>? TickFrequency { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, double>
Ticks
Gets or sets the binding logic for Ticks
public IOneOrTwoWayBind<TViewModel, DoubleCollection>? Ticks { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, DoubleCollection>
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.