Class AbstractUnboundSliderControlBindingModel<TView, TViewModel, TControl>
A class that contains Viewmodel bindings for the Slider control.
public abstract class AbstractUnboundSliderControlBindingModel<TView, TViewModel, TControl> : AbstractUnboundRangeBaseControlBindingModel<TView, TViewModel, TControl>, IControlBindingModel<TView, TViewModel> where TView : class, IViewFor<TViewModel> where TViewModel : class, IReactiveObject where TControl : Slider
Type Parameters
TView
TViewModel
TControl
- Inheritance
-
AbstractControlBindingModel<TView, TViewModel, TControl>AbstractUnboundUIElementControlBindingModel<TView, TViewModel, TControl>AbstractUnboundFrameworkElementControlBindingModel<TView, TViewModel, TControl>AbstractUnboundControlControlBindingModel<TView, TViewModel, TControl>AbstractUnboundRangeBaseControlBindingModel<TView, TViewModel, TControl>AbstractUnboundSliderControlBindingModel<TView, TViewModel, TControl>
- Implements
-
IControlBindingModel<TView, TViewModel>
- Derived
- Inherited Members
Constructors
AbstractUnboundSliderControlBindingModel(Expression<Func<TView, TControl>>)
Initializes a new instance of the AbstractUnboundSliderControlBindingModel<TView, TViewModel, TControl> class.
protected AbstractUnboundSliderControlBindingModel(Expression<Func<TView, TControl>> viewExpression)
Parameters
viewExpression
Expression<Func<TView, TControl>>expression representing the control on the view to bind to.
Properties
AutoToolTipPlacement
Gets or sets the binding logic for AutoToolTipPlacement
public IOneOrTwoWayBind<TViewModel, AutoToolTipPlacement>? AutoToolTipPlacement { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, AutoToolTipPlacement>
AutoToolTipPrecision
Gets or sets the binding logic for AutoToolTipPrecision
public IOneOrTwoWayBind<TViewModel, int>? AutoToolTipPrecision { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, int>
DecreaseLarge
Gets or sets the binding logic for DecreaseLarge
public IOneWayBind<TViewModel, RoutedCommand>? DecreaseLarge { get; init; }
Property Value
- IOneWayBind<TViewModel, RoutedCommand>
DecreaseSmall
Gets or sets the binding logic for DecreaseSmall
public IOneWayBind<TViewModel, RoutedCommand>? DecreaseSmall { get; init; }
Property Value
- IOneWayBind<TViewModel, RoutedCommand>
Delay
Gets or sets the binding logic for Delay
public IOneOrTwoWayBind<TViewModel, int>? Delay { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, int>
IncreaseLarge
Gets or sets the binding logic for IncreaseLarge
public IOneWayBind<TViewModel, RoutedCommand>? IncreaseLarge { get; init; }
Property Value
- IOneWayBind<TViewModel, RoutedCommand>
IncreaseSmall
Gets or sets the binding logic for IncreaseSmall
public IOneWayBind<TViewModel, RoutedCommand>? IncreaseSmall { get; init; }
Property Value
- IOneWayBind<TViewModel, RoutedCommand>
Interval
Gets or sets the binding logic for Interval
public IOneOrTwoWayBind<TViewModel, int>? Interval { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, int>
IsDirectionReversed
Gets or sets the binding logic for IsDirectionReversed
public IOneOrTwoWayBind<TViewModel, bool>? IsDirectionReversed { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, bool>
IsMoveToPointEnabled
Gets or sets the binding logic for IsMoveToPointEnabled
public IOneOrTwoWayBind<TViewModel, bool>? IsMoveToPointEnabled { 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>
IsSnapToTickEnabled
Gets or sets the binding logic for IsSnapToTickEnabled
public IOneOrTwoWayBind<TViewModel, bool>? IsSnapToTickEnabled { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, bool>
MaximizeValue
Gets or sets the binding logic for MaximizeValue
public IOneWayBind<TViewModel, RoutedCommand>? MaximizeValue { get; init; }
Property Value
- IOneWayBind<TViewModel, RoutedCommand>
MinimizeValue
Gets or sets the binding logic for MinimizeValue
public IOneWayBind<TViewModel, RoutedCommand>? MinimizeValue { get; init; }
Property Value
- IOneWayBind<TViewModel, RoutedCommand>
Orientation
Gets or sets the binding logic for Orientation
public IOneOrTwoWayBind<TViewModel, Orientation>? Orientation { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, Orientation>
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>
TickPlacement
Gets or sets the binding logic for TickPlacement
public IOneOrTwoWayBind<TViewModel, TickPlacement>? TickPlacement { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, TickPlacement>
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.