Table of Contents

Class AbstractUnboundDateTimeBaseControlBindingModel<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.DateTimeBase control.

public abstract class AbstractUnboundDateTimeBaseControlBindingModel<TView, TViewModel, TControl> : AbstractUnboundTextBoxControlBindingModel<TView, TViewModel, TControl>, IControlBindingModel<TView, TViewModel> where TView : class, IViewFor<TViewModel> where TViewModel : class, IReactiveObject where TControl : DateTimeBase

Type Parameters

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

Constructors

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

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

Parameters

viewExpression Expression<Func<TView, TControl>>

expression representing the control on the view to bind to.

Properties

CanEdit

Gets or sets the binding logic for Syncfusion.Windows.Shared.DateTimeBase.CanEdit

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

Property Value

IOneOrTwoWayBind<TViewModel, bool>

ContentElementVisibility

Gets or sets the binding logic for Syncfusion.Windows.Shared.DateTimeBase.ContentElementVisibility

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

Property Value

IOneOrTwoWayBind<TViewModel, Visibility>

CultureInfo

Gets or sets the binding logic for Syncfusion.Windows.Shared.DateTimeBase.CultureInfo

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

Property Value

IOneOrTwoWayBind<TViewModel, CultureInfo>

CustomPattern

Gets or sets the binding logic for Syncfusion.Windows.Shared.DateTimeBase.CustomPattern

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

Property Value

IOneOrTwoWayBind<TViewModel, string>

DateTimeFormat

Gets or sets the binding logic for Syncfusion.Windows.Shared.DateTimeBase.DateTimeFormat

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

Property Value

IOneOrTwoWayBind<TViewModel, DateTimeFormatInfo>

DownRepeatButtonMargin

Gets or sets the binding logic for Syncfusion.Windows.Shared.DateTimeBase.DownRepeatButtonMargin

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

Property Value

IOneOrTwoWayBind<TViewModel, Thickness>

DownRepeatButtonTemplate

Gets or sets the binding logic for Syncfusion.Windows.Shared.DateTimeBase.DownRepeatButtonTemplate

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

Property Value

IOneOrTwoWayBind<TViewModel, ControlTemplate>

DropDownButtonTemplate

Gets or sets the binding logic for Syncfusion.Windows.Shared.DateTimeBase.DropDownButtonTemplate

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

Property Value

IOneOrTwoWayBind<TViewModel, ControlTemplate>

EnableMouseWheelEdit

Gets or sets the binding logic for Syncfusion.Windows.Shared.DateTimeBase.EnableMouseWheelEdit

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

Property Value

IOneOrTwoWayBind<TViewModel, bool>

FormatCalendar

Gets or sets the binding logic for Syncfusion.Windows.Shared.DateTimeBase.FormatCalendar

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

Property Value

IOneOrTwoWayBind<TViewModel, Calendar>

IsButtonPopUpEnabled

Gets or sets the binding logic for Syncfusion.Windows.Shared.DateTimeBase.IsButtonPopUpEnabled

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

Property Value

IOneOrTwoWayBind<TViewModel, bool>

IsCalendarEnabled

Gets or sets the binding logic for Syncfusion.Windows.Shared.DateTimeBase.IsCalendarEnabled

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

Property Value

IOneOrTwoWayBind<TViewModel, bool>

IsCultureRightToLeft

Gets or sets the binding logic for Syncfusion.Windows.Shared.DateTimeBase.IsCultureRightToLeft

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

Property Value

IOneOrTwoWayBind<TViewModel, bool>

IsDropDownOpen

Gets or sets the binding logic for Syncfusion.Windows.Shared.DateTimeBase.IsDropDownOpen

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

Property Value

IOneOrTwoWayBind<TViewModel, bool>

IsEmptyDateEnabled

Gets or sets the binding logic for Syncfusion.Windows.Shared.DateTimeBase.IsEmptyDateEnabled

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

Property Value

IOneOrTwoWayBind<TViewModel, bool>

IsEnabledRepeatButton

Gets or sets the binding logic for Syncfusion.Windows.Shared.DateTimeBase.IsEnabledRepeatButton

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

Property Value

IOneOrTwoWayBind<TViewModel, bool>

IsPopupEnabled

Gets or sets the binding logic for Syncfusion.Windows.Shared.DateTimeBase.IsPopupEnabled

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

Property Value

IOneOrTwoWayBind<TViewModel, bool>

IsVisibleRepeatButton

Gets or sets the binding logic for Syncfusion.Windows.Shared.DateTimeBase.IsVisibleRepeatButton

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

Property Value

IOneOrTwoWayBind<TViewModel, bool>

IsWatchEnabled

Gets or sets the binding logic for Syncfusion.Windows.Shared.DateTimeBase.IsWatchEnabled

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

Property Value

IOneOrTwoWayBind<TViewModel, bool>

MaskedText

Gets or sets the binding logic for Syncfusion.Windows.Shared.DateTimeBase.MaskedText

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

Property Value

IOneOrTwoWayBind<TViewModel, string>

NoneDateText

Gets or sets the binding logic for Syncfusion.Windows.Shared.DateTimeBase.NoneDateText

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

Property Value

IOneOrTwoWayBind<TViewModel, string>

Pattern

Gets or sets the binding logic for Syncfusion.Windows.Shared.DateTimeBase.Pattern

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

Property Value

IOneOrTwoWayBind<TViewModel, DateTimePattern>

PopupDelay

Gets or sets the binding logic for Syncfusion.Windows.Shared.DateTimeBase.PopupDelay

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

Property Value

IOneOrTwoWayBind<TViewModel, TimeSpan>

RepeatButtonBackground

Gets or sets the binding logic for Syncfusion.Windows.Shared.DateTimeBase.RepeatButtonBackground

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

Property Value

IOneOrTwoWayBind<TViewModel, Brush>

RepeatButtonBorderBrush

Gets or sets the binding logic for Syncfusion.Windows.Shared.DateTimeBase.RepeatButtonBorderBrush

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

Property Value

IOneOrTwoWayBind<TViewModel, Brush>

RepeatButtonBorderThickness

Gets or sets the binding logic for Syncfusion.Windows.Shared.DateTimeBase.RepeatButtonBorderThickness

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

Property Value

IOneOrTwoWayBind<TViewModel, Thickness>

SelectWholeContent

Gets or sets the binding logic for Syncfusion.Windows.Shared.DateTimeBase.SelectWholeContent

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

Property Value

IOneOrTwoWayBind<TViewModel, bool>

UpRepeatButtonMargin

Gets or sets the binding logic for Syncfusion.Windows.Shared.DateTimeBase.UpRepeatButtonMargin

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

Property Value

IOneOrTwoWayBind<TViewModel, Thickness>

UpRepeatButtonTemplate

Gets or sets the binding logic for Syncfusion.Windows.Shared.DateTimeBase.UpRepeatButtonTemplate

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

Property Value

IOneOrTwoWayBind<TViewModel, ControlTemplate>

WatermarkVisibility

Gets or sets the binding logic for Syncfusion.Windows.Shared.DateTimeBase.WatermarkVisibility

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

Property Value

IOneOrTwoWayBind<TViewModel, Visibility>

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.