Class AbstractUnboundUpDownControlBindingModel<TView, TViewModel, TControl>
- Assembly
- Whipstaff.Wpf.Syncfusion.SfDiagram.dll
A class that contains Viewmodel bindings for the Syncfusion.Windows.Shared.UpDown control.
public abstract class AbstractUnboundUpDownControlBindingModel<TView, TViewModel, TControl> : AbstractUnboundControlControlBindingModel<TView, TViewModel, TControl>, IControlBindingModel<TView, TViewModel> where TView : class, IViewFor<TViewModel> where TViewModel : class, IReactiveObject where TControl : UpDown
Type Parameters
TView
TViewModel
TControl
- Inheritance
-
AbstractControlBindingModel<TView, TViewModel, TControl>AbstractUnboundUIElementControlBindingModel<TView, TViewModel, TControl>AbstractUnboundFrameworkElementControlBindingModel<TView, TViewModel, TControl>AbstractUnboundControlControlBindingModel<TView, TViewModel, TControl>AbstractUnboundUpDownControlBindingModel<TView, TViewModel, TControl>
- Implements
-
IControlBindingModel<TView, TViewModel>
- Derived
- Inherited Members
Constructors
AbstractUnboundUpDownControlBindingModel(Expression<Func<TView, TControl>>)
Initializes a new instance of the AbstractUnboundUpDownControlBindingModel<TView, TViewModel, TControl> class.
protected AbstractUnboundUpDownControlBindingModel(Expression<Func<TView, TControl>> viewExpression)
Parameters
viewExpression
Expression<Func<TView, TControl>>expression representing the control on the view to bind to.
Properties
AllowEdit
Gets or sets the binding logic for Syncfusion.Windows.Shared.UpDown.AllowEdit
public IOneOrTwoWayBind<TViewModel, bool>? AllowEdit { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, bool>
AnimationSpeed
Gets or sets the binding logic for Syncfusion.Windows.Shared.UpDown.AnimationSpeed
public IOneOrTwoWayBind<TViewModel, double>? AnimationSpeed { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, double>
ApplyZeroColor
Gets or sets the binding logic for Syncfusion.Windows.Shared.UpDown.ApplyZeroColor
public IOneOrTwoWayBind<TViewModel, bool>? ApplyZeroColor { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, bool>
CornerRadius
Gets or sets the binding logic for Syncfusion.Windows.Shared.UpDown.CornerRadius
public IOneOrTwoWayBind<TViewModel, CornerRadius>? CornerRadius { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, CornerRadius>
Culture
Gets or sets the binding logic for Syncfusion.Windows.Shared.UpDown.Culture
public IOneOrTwoWayBind<TViewModel, CultureInfo>? Culture { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, CultureInfo>
EnableExtendedScrolling
Gets or sets the binding logic for Syncfusion.Windows.Shared.UpDown.EnableExtendedScrolling
public IOneOrTwoWayBind<TViewModel, bool>? EnableExtendedScrolling { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, bool>
EnableFocusedColors
Gets or sets the binding logic for Syncfusion.Windows.Shared.UpDown.EnableFocusedColors
public IOneOrTwoWayBind<TViewModel, bool>? EnableFocusedColors { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, bool>
EnableNegativeColors
Gets or sets the binding logic for Syncfusion.Windows.Shared.UpDown.EnableNegativeColors
public IOneOrTwoWayBind<TViewModel, bool>? EnableNegativeColors { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, bool>
EnableRangeAdorner
Gets or sets the binding logic for Syncfusion.Windows.Shared.UpDown.EnableRangeAdorner
public IOneOrTwoWayBind<TViewModel, bool>? EnableRangeAdorner { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, bool>
EnableTouch
Gets or sets the binding logic for Syncfusion.Windows.Shared.UpDown.EnableTouch
public IOneOrTwoWayBind<TViewModel, bool>? EnableTouch { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, bool>
FocusedBackground
Gets or sets the binding logic for Syncfusion.Windows.Shared.UpDown.FocusedBackground
public IOneOrTwoWayBind<TViewModel, Brush>? FocusedBackground { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, Brush>
FocusedBorderBrush
Gets or sets the binding logic for Syncfusion.Windows.Shared.UpDown.FocusedBorderBrush
public IOneOrTwoWayBind<TViewModel, Brush>? FocusedBorderBrush { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, Brush>
FocusedForeground
Gets or sets the binding logic for Syncfusion.Windows.Shared.UpDown.FocusedForeground
public IOneOrTwoWayBind<TViewModel, Brush>? FocusedForeground { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, Brush>
GroupSeperatorEnabled
Gets or sets the binding logic for Syncfusion.Windows.Shared.UpDown.GroupSeperatorEnabled
public IOneOrTwoWayBind<TViewModel, bool>? GroupSeperatorEnabled { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, bool>
IsFocused
Gets or sets the binding logic for Syncfusion.Windows.Shared.UpDown.IsFocused
public IOneWayBind<TViewModel, bool>? IsFocused { get; init; }
Property Value
- IOneWayBind<TViewModel, bool>
IsKeyboardFocused
Gets or sets the binding logic for Syncfusion.Windows.Shared.UpDown.IsKeyboardFocused
public IOneWayBind<TViewModel, bool>? IsKeyboardFocused { get; init; }
Property Value
- IOneWayBind<TViewModel, bool>
IsReadOnly
Gets or sets the binding logic for Syncfusion.Windows.Shared.UpDown.IsReadOnly
public IOneOrTwoWayBind<TViewModel, bool>? IsReadOnly { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, bool>
IsScrollingOnCircle
Gets or sets the binding logic for Syncfusion.Windows.Shared.UpDown.IsScrollingOnCircle
public IOneOrTwoWayBind<TViewModel, bool>? IsScrollingOnCircle { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, bool>
IsUpdownFocused
Gets or sets the binding logic for Syncfusion.Windows.Shared.UpDown.IsUpdownFocused
public IOneOrTwoWayBind<TViewModel, bool>? IsUpdownFocused { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, bool>
IsValueNegative
Gets or sets the binding logic for Syncfusion.Windows.Shared.UpDown.IsValueNegative
public IOneOrTwoWayBind<TViewModel, bool>? IsValueNegative { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, bool>
MaxValidation
Gets or sets the binding logic for Syncfusion.Windows.Shared.UpDown.MaxValidation
public IOneOrTwoWayBind<TViewModel, MaxValidation>? MaxValidation { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, MaxValidation>
MaxValue
Gets or sets the binding logic for Syncfusion.Windows.Shared.UpDown.MaxValue
public IOneOrTwoWayBind<TViewModel, double>? MaxValue { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, double>
MaxValueOnExceedMaxDigit
Gets or sets the binding logic for Syncfusion.Windows.Shared.UpDown.MaxValueOnExceedMaxDigit
public IOneOrTwoWayBind<TViewModel, bool>? MaxValueOnExceedMaxDigit { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, bool>
MinValidation
Gets or sets the binding logic for Syncfusion.Windows.Shared.UpDown.MinValidation
public IOneOrTwoWayBind<TViewModel, MinValidation>? MinValidation { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, MinValidation>
MinValue
Gets or sets the binding logic for Syncfusion.Windows.Shared.UpDown.MinValue
public IOneOrTwoWayBind<TViewModel, double>? MinValue { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, double>
MinValueOnExceedMinDigit
Gets or sets the binding logic for Syncfusion.Windows.Shared.UpDown.MinValueOnExceedMinDigit
public IOneOrTwoWayBind<TViewModel, bool>? MinValueOnExceedMinDigit { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, bool>
NegativeBackground
Gets or sets the binding logic for Syncfusion.Windows.Shared.UpDown.NegativeBackground
public IOneOrTwoWayBind<TViewModel, Brush>? NegativeBackground { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, Brush>
NegativeBorderBrush
Gets or sets the binding logic for Syncfusion.Windows.Shared.UpDown.NegativeBorderBrush
public IOneOrTwoWayBind<TViewModel, Brush>? NegativeBorderBrush { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, Brush>
NegativeForeground
Gets or sets the binding logic for Syncfusion.Windows.Shared.UpDown.NegativeForeground
public IOneOrTwoWayBind<TViewModel, Brush>? NegativeForeground { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, Brush>
NullValue
Gets or sets the binding logic for Syncfusion.Windows.Shared.UpDown.NullValue
public IOneOrTwoWayBind<TViewModel, double?>? NullValue { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, double?>
NullValueText
Gets or sets the binding logic for Syncfusion.Windows.Shared.UpDown.NullValueText
public IOneOrTwoWayBind<TViewModel, string>? NullValueText { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, string>
NumberDecimalDigits
Gets or sets the binding logic for Syncfusion.Windows.Shared.UpDown.NumberDecimalDigits
public IOneOrTwoWayBind<TViewModel, int>? NumberDecimalDigits { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, int>
NumberFormatInfo
Gets or sets the binding logic for Syncfusion.Windows.Shared.UpDown.NumberFormatInfo
public IOneOrTwoWayBind<TViewModel, NumberFormatInfo>? NumberFormatInfo { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, NumberFormatInfo>
RangeAdornerBackground
Gets or sets the binding logic for Syncfusion.Windows.Shared.UpDown.RangeAdornerBackground
public IOneOrTwoWayBind<TViewModel, Brush>? RangeAdornerBackground { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, Brush>
Step
Gets or sets the binding logic for Syncfusion.Windows.Shared.UpDown.Step
public IOneOrTwoWayBind<TViewModel, double>? Step { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, double>
TextAlignment
Gets or sets the binding logic for Syncfusion.Windows.Shared.UpDown.TextAlignment
public IOneOrTwoWayBind<TViewModel, TextAlignment>? TextAlignment { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, TextAlignment>
UpDownBackground
Gets or sets the binding logic for Syncfusion.Windows.Shared.UpDown.UpDownBackground
public IOneOrTwoWayBind<TViewModel, Brush>? UpDownBackground { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, Brush>
UpDownBorderBrush
Gets or sets the binding logic for Syncfusion.Windows.Shared.UpDown.UpDownBorderBrush
public IOneOrTwoWayBind<TViewModel, Brush>? UpDownBorderBrush { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, Brush>
UpDownForeground
Gets or sets the binding logic for Syncfusion.Windows.Shared.UpDown.UpDownForeground
public IOneOrTwoWayBind<TViewModel, Brush>? UpDownForeground { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, Brush>
UseNullOption
Gets or sets the binding logic for Syncfusion.Windows.Shared.UpDown.UseNullOption
public IOneOrTwoWayBind<TViewModel, bool>? UseNullOption { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, bool>
Value
Gets or sets the binding logic for Syncfusion.Windows.Shared.UpDown.Value
public IOneOrTwoWayBind<TViewModel, double?>? Value { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, double?>
ZeroColor
Gets or sets the binding logic for Syncfusion.Windows.Shared.UpDown.ZeroColor
public IOneOrTwoWayBind<TViewModel, Brush>? ZeroColor { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, Brush>
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.