Table of Contents

Class AbstractUnboundTimeSpanEditControlBindingModel<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.TimeSpanEdit control.

public abstract class AbstractUnboundTimeSpanEditControlBindingModel<TView, TViewModel, TControl> : AbstractUnboundTextBoxControlBindingModel<TView, TViewModel, TControl>, IControlBindingModel<TView, TViewModel> where TView : class, IViewFor<TViewModel> where TViewModel : class, IReactiveObject where TControl : TimeSpanEdit

Type Parameters

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

Constructors

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

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

Parameters

viewExpression Expression<Func<TView, TControl>>

expression representing the control on the view to bind to.

Properties

AllowNull

Gets or sets the binding logic for Syncfusion.Windows.Shared.TimeSpanEdit.AllowNull

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

Property Value

IOneOrTwoWayBind<TViewModel, bool>

DownCommand

Gets or sets the binding logic for Syncfusion.Windows.Shared.TimeSpanEdit.DownCommand

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

Property Value

IOneWayBind<TViewModel, ICommand>

EnableExtendedScrolling

Gets or sets the binding logic for Syncfusion.Windows.Shared.TimeSpanEdit.EnableExtendedScrolling

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

Property Value

IOneOrTwoWayBind<TViewModel, bool>

EnableTouch

Gets or sets the binding logic for Syncfusion.Windows.Shared.TimeSpanEdit.EnableTouch

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

Property Value

IOneOrTwoWayBind<TViewModel, bool>

Format

Gets or sets the binding logic for Syncfusion.Windows.Shared.TimeSpanEdit.Format

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

Property Value

IOneOrTwoWayBind<TViewModel, string>

IncrementOnScrolling

Gets or sets the binding logic for Syncfusion.Windows.Shared.TimeSpanEdit.IncrementOnScrolling

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

Property Value

IOneOrTwoWayBind<TViewModel, bool>

MaxValue

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

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

Property Value

IOneOrTwoWayBind<TViewModel, TimeSpan>

MinValue

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

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

Property Value

IOneOrTwoWayBind<TViewModel, TimeSpan>

NullString

Gets or sets the binding logic for Syncfusion.Windows.Shared.TimeSpanEdit.NullString

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

Property Value

IOneOrTwoWayBind<TViewModel, string>

ShowArrowButtons

Gets or sets the binding logic for Syncfusion.Windows.Shared.TimeSpanEdit.ShowArrowButtons

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

Property Value

IOneOrTwoWayBind<TViewModel, bool>

StepInterval

Gets or sets the binding logic for Syncfusion.Windows.Shared.TimeSpanEdit.StepInterval

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

Property Value

IOneOrTwoWayBind<TViewModel, TimeSpan>

UpCommand

Gets or sets the binding logic for Syncfusion.Windows.Shared.TimeSpanEdit.UpCommand

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

Property Value

IOneWayBind<TViewModel, ICommand>

Value

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

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

Property Value

IOneOrTwoWayBind<TViewModel, TimeSpan?>

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.