Table of Contents

Class AbstractUnboundPercentTextBoxControlBindingModel<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.PercentTextBox control.

public abstract class AbstractUnboundPercentTextBoxControlBindingModel<TView, TViewModel, TControl> : AbstractUnboundEditorBaseControlBindingModel<TView, TViewModel, TControl>, IControlBindingModel<TView, TViewModel> where TView : class, IViewFor<TViewModel> where TViewModel : class, IReactiveObject where TControl : PercentTextBox

Type Parameters

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

Constructors

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

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

Parameters

viewExpression Expression<Func<TView, TControl>>

expression representing the control on the view to bind to.

Properties

AllowMultipleSymbol

Gets or sets the binding logic for Syncfusion.Windows.Shared.PercentTextBox.AllowMultipleSymbol

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

Property Value

IOneOrTwoWayBind<TViewModel, bool>

GroupSeperatorEnabled

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

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

Property Value

IOneOrTwoWayBind<TViewModel, bool>

InvalidValueBehavior

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

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

Property Value

IOneOrTwoWayBind<TViewModel, InvalidInputBehavior>

MaxPercentDecimalDigits

Gets or sets the binding logic for Syncfusion.Windows.Shared.PercentTextBox.MaxPercentDecimalDigits

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

Property Value

IOneOrTwoWayBind<TViewModel, int>

MaxValue

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

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

Property Value

IOneOrTwoWayBind<TViewModel, double>

MinPercentDecimalDigits

Gets or sets the binding logic for Syncfusion.Windows.Shared.PercentTextBox.MinPercentDecimalDigits

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

Property Value

IOneOrTwoWayBind<TViewModel, int>

MinValue

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

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

Property Value

IOneOrTwoWayBind<TViewModel, double>

NullValue

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

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

Property Value

IOneOrTwoWayBind<TViewModel, double?>

PercentDecimalDigits

Gets or sets the binding logic for Syncfusion.Windows.Shared.PercentTextBox.PercentDecimalDigits

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

Property Value

IOneOrTwoWayBind<TViewModel, int>

PercentDecimalSeparator

Gets or sets the binding logic for Syncfusion.Windows.Shared.PercentTextBox.PercentDecimalSeparator

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

Property Value

IOneOrTwoWayBind<TViewModel, string>

PercentEditMode

Gets or sets the binding logic for Syncfusion.Windows.Shared.PercentTextBox.PercentEditMode

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

Property Value

IOneOrTwoWayBind<TViewModel, PercentEditMode>

PercentGroupSeparator

Gets or sets the binding logic for Syncfusion.Windows.Shared.PercentTextBox.PercentGroupSeparator

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

Property Value

IOneOrTwoWayBind<TViewModel, string>

PercentGroupSizes

Gets or sets the binding logic for Syncfusion.Windows.Shared.PercentTextBox.PercentGroupSizes

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

Property Value

IOneOrTwoWayBind<TViewModel, Int32Collection>

PercentNegativePattern

Gets or sets the binding logic for Syncfusion.Windows.Shared.PercentTextBox.PercentNegativePattern

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

Property Value

IOneOrTwoWayBind<TViewModel, int>

PercentPositivePattern

Gets or sets the binding logic for Syncfusion.Windows.Shared.PercentTextBox.PercentPositivePattern

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

Property Value

IOneOrTwoWayBind<TViewModel, int>

PercentValue

Gets or sets the binding logic for Syncfusion.Windows.Shared.PercentTextBox.PercentValue

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

Property Value

IOneOrTwoWayBind<TViewModel, double?>

PercentageSymbol

Gets or sets the binding logic for Syncfusion.Windows.Shared.PercentTextBox.PercentageSymbol

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

Property Value

IOneOrTwoWayBind<TViewModel, string>

ScrollInterval

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

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

Property Value

IOneOrTwoWayBind<TViewModel, double>

ValidationCompleted

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

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

Property Value

IOneOrTwoWayBind<TViewModel, bool>

ValidationOnLostFocus

Gets or sets the binding logic for Syncfusion.Windows.Shared.PercentTextBox.ValidationOnLostFocus

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

Property Value

IOneOrTwoWayBind<TViewModel, bool>

ValidationValue

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

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

Property Value

IOneOrTwoWayBind<TViewModel, string>

ValueValidation

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

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

Property Value

IOneOrTwoWayBind<TViewModel, StringValidation>

copycommand

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

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

Property Value

IOneWayBind<TViewModel, ICommand>

cutcommand

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

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

Property Value

IOneWayBind<TViewModel, ICommand>

pastecommand

Gets or sets the binding logic for Syncfusion.Windows.Shared.PercentTextBox.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.