Table of Contents

Class AbstractUnboundCurrencyTextBoxControlBindingModel<TView, TViewModel, TControl>

Namespace
Whipstaff.Wpf.ViewToViewModelBindings.Syncfusion.Windows.Shared
Assembly
Whipstaff.Wpf.Syncfusion.SfDiagram.dll

A class that contains Viewmodel bindings for the Syncfusion.Windows.Shared.CurrencyTextBox control.

public abstract class AbstractUnboundCurrencyTextBoxControlBindingModel<TView, TViewModel, TControl> : AbstractUnboundEditorBaseControlBindingModel<TView, TViewModel, TControl>, IControlBindingModel<TView, TViewModel> where TView : class, IViewFor<TViewModel> where TViewModel : class, IReactiveObject where TControl : CurrencyTextBox

Type Parameters

TView
TViewModel
TControl
Inheritance
AbstractControlBindingModel<TView, TViewModel, TControl>
AbstractUnboundUIElementControlBindingModel<TView, TViewModel, TControl>
AbstractUnboundControlControlBindingModel<TView, TViewModel, TControl>
AbstractUnboundTextBoxControlBindingModel<TView, TViewModel, TControl>
AbstractUnboundCurrencyTextBoxControlBindingModel<TView, TViewModel, TControl>
Implements
IControlBindingModel<TView, TViewModel>
Derived
Inherited Members

Constructors

AbstractUnboundCurrencyTextBoxControlBindingModel(Expression<Func<TView, TControl>>)

protected AbstractUnboundCurrencyTextBoxControlBindingModel(Expression<Func<TView, TControl>> viewExpression)

Parameters

viewExpression Expression<Func<TView, TControl>>

expression representing the control on the view to bind to.

Properties

CurrencyDecimalDigits

Gets or sets the binding logic for Syncfusion.Windows.Shared.CurrencyTextBox.CurrencyDecimalDigits

public IOneOrTwoWayBind<TViewModel, int>? CurrencyDecimalDigits { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, int>

CurrencyDecimalSeparator

Gets or sets the binding logic for Syncfusion.Windows.Shared.CurrencyTextBox.CurrencyDecimalSeparator

public IOneOrTwoWayBind<TViewModel, string>? CurrencyDecimalSeparator { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, string>

CurrencyGroupSeparator

Gets or sets the binding logic for Syncfusion.Windows.Shared.CurrencyTextBox.CurrencyGroupSeparator

public IOneOrTwoWayBind<TViewModel, string>? CurrencyGroupSeparator { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, string>

CurrencyGroupSizes

Gets or sets the binding logic for Syncfusion.Windows.Shared.CurrencyTextBox.CurrencyGroupSizes

public IOneOrTwoWayBind<TViewModel, Int32Collection>? CurrencyGroupSizes { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, Int32Collection>

CurrencyNegativePattern

Gets or sets the binding logic for Syncfusion.Windows.Shared.CurrencyTextBox.CurrencyNegativePattern

public IOneOrTwoWayBind<TViewModel, int>? CurrencyNegativePattern { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, int>

CurrencyPositivePattern

Gets or sets the binding logic for Syncfusion.Windows.Shared.CurrencyTextBox.CurrencyPositivePattern

public IOneOrTwoWayBind<TViewModel, int>? CurrencyPositivePattern { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, int>

CurrencySymbol

Gets or sets the binding logic for Syncfusion.Windows.Shared.CurrencyTextBox.CurrencySymbol

public IOneOrTwoWayBind<TViewModel, string>? CurrencySymbol { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, string>

GroupSeperatorEnabled

Gets or sets the binding logic for Syncfusion.Windows.Shared.CurrencyTextBox.GroupSeperatorEnabled

public IOneOrTwoWayBind<TViewModel, bool>? GroupSeperatorEnabled { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, bool>

InvalidValueBehavior

Gets or sets the binding logic for Syncfusion.Windows.Shared.CurrencyTextBox.InvalidValueBehavior

public IOneOrTwoWayBind<TViewModel, InvalidInputBehavior>? InvalidValueBehavior { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, InvalidInputBehavior>

MaxValue

Gets or sets the binding logic for Syncfusion.Windows.Shared.CurrencyTextBox.MaxValue

public IOneOrTwoWayBind<TViewModel, decimal>? MaxValue { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, decimal>

MaximumCurrencyDecimalDigits

Gets or sets the binding logic for Syncfusion.Windows.Shared.CurrencyTextBox.MaximumCurrencyDecimalDigits

public IOneOrTwoWayBind<TViewModel, int>? MaximumCurrencyDecimalDigits { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, int>

MinValue

Gets or sets the binding logic for Syncfusion.Windows.Shared.CurrencyTextBox.MinValue

public IOneOrTwoWayBind<TViewModel, decimal>? MinValue { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, decimal>

MinimumCurrencyDecimalDigits

Gets or sets the binding logic for Syncfusion.Windows.Shared.CurrencyTextBox.MinimumCurrencyDecimalDigits

public IOneOrTwoWayBind<TViewModel, int>? MinimumCurrencyDecimalDigits { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, int>

NullValue

Gets or sets the binding logic for Syncfusion.Windows.Shared.CurrencyTextBox.NullValue

public IOneOrTwoWayBind<TViewModel, decimal?>? NullValue { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, decimal?>

ScrollInterval

Gets or sets the binding logic for Syncfusion.Windows.Shared.CurrencyTextBox.ScrollInterval

public IOneOrTwoWayBind<TViewModel, double>? ScrollInterval { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, double>

ValidationCompleted

Gets or sets the binding logic for Syncfusion.Windows.Shared.CurrencyTextBox.ValidationCompleted

public IOneOrTwoWayBind<TViewModel, bool>? ValidationCompleted { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, bool>

ValidationValue

Gets or sets the binding logic for Syncfusion.Windows.Shared.CurrencyTextBox.ValidationValue

public IOneOrTwoWayBind<TViewModel, string>? ValidationValue { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, string>

Value

Gets or sets the binding logic for Syncfusion.Windows.Shared.CurrencyTextBox.Value

public IOneOrTwoWayBind<TViewModel, decimal?>? Value { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, decimal?>

ValueValidation

Gets or sets the binding logic for Syncfusion.Windows.Shared.CurrencyTextBox.ValueValidation

public IOneOrTwoWayBind<TViewModel, StringValidation>? ValueValidation { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, StringValidation>

copycommand

Gets or sets the binding logic for Syncfusion.Windows.Shared.CurrencyTextBox.copycommand

public IOneWayBind<TViewModel, ICommand>? copycommand { get; init; }

Property Value

IOneWayBind<TViewModel, ICommand>

cutcommand

Gets or sets the binding logic for Syncfusion.Windows.Shared.CurrencyTextBox.cutcommand

public IOneWayBind<TViewModel, ICommand>? cutcommand { get; init; }

Property Value

IOneWayBind<TViewModel, ICommand>

pastecommand

Gets or sets the binding logic for Syncfusion.Windows.Shared.CurrencyTextBox.pastecommand

public IOneWayBind<TViewModel, ICommand>? pastecommand { get; init; }

Property Value

IOneWayBind<TViewModel, ICommand>

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 TView

The view.

viewModel TViewModel

The 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 TView

The view.

viewModel TViewModel

The viewmodel.

compositeDisposable CompositeDisposable

The disposable container to register disposals against.