Table of Contents

Class AbstractUnboundCalendarControlBindingModel<TView, TViewModel, TControl>

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

A class that contains Viewmodel bindings for the Syncfusion.Windows.Controls.Calendar control.

public abstract class AbstractUnboundCalendarControlBindingModel<TView, TViewModel, TControl> : AbstractUnboundControlControlBindingModel<TView, TViewModel, TControl>, IControlBindingModel<TView, TViewModel> where TView : class, IViewFor<TViewModel> where TViewModel : class, IReactiveObject where TControl : Calendar

Type Parameters

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

Constructors

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

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

Parameters

viewExpression Expression<Func<TView, TControl>>

expression representing the control on the view to bind to.

Properties

AbbreviatedMonthNames

Gets or sets the binding logic for Syncfusion.Windows.Controls.Calendar.AbbreviatedMonthNames

public IOneOrTwoWayBind<TViewModel, string[]>? AbbreviatedMonthNames { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, string[]>

BlackoutDates

Gets or sets the binding logic for Syncfusion.Windows.Controls.Calendar.BlackoutDates

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

Property Value

IOneOrTwoWayBind<TViewModel, CalendarBlackoutDatesCollection>

CanBlockWeekEnds

Gets or sets the binding logic for Syncfusion.Windows.Controls.Calendar.CanBlockWeekEnds

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

Property Value

IOneOrTwoWayBind<TViewModel, bool>

Culture

Gets or sets the binding logic for Syncfusion.Windows.Controls.Calendar.Culture

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

Property Value

IOneOrTwoWayBind<TViewModel, CultureInfo>

DisableDateSelection

Gets or sets the binding logic for Syncfusion.Windows.Controls.Calendar.DisableDateSelection

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

Property Value

IOneOrTwoWayBind<TViewModel, bool>

DisplayDate

Gets or sets the binding logic for Syncfusion.Windows.Controls.Calendar.DisplayDate

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

Property Value

IOneOrTwoWayBind<TViewModel, DateTime>

DisplayDateEnd

Gets or sets the binding logic for Syncfusion.Windows.Controls.Calendar.DisplayDateEnd

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

Property Value

IOneOrTwoWayBind<TViewModel, DateTime?>

DisplayDateStart

Gets or sets the binding logic for Syncfusion.Windows.Controls.Calendar.DisplayDateStart

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

Property Value

IOneOrTwoWayBind<TViewModel, DateTime?>

DisplayMode

Gets or sets the binding logic for Syncfusion.Windows.Controls.Calendar.DisplayMode

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

Property Value

IOneOrTwoWayBind<TViewModel, CalendarMode>

FirstDayOfWeek

Gets or sets the binding logic for Syncfusion.Windows.Controls.Calendar.FirstDayOfWeek

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

Property Value

IOneOrTwoWayBind<TViewModel, DayOfWeek>

FormatCalendar

Gets or sets the binding logic for Syncfusion.Windows.Controls.Calendar.FormatCalendar

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

Property Value

IOneOrTwoWayBind<TViewModel, Calendar>

IsTodayHighlighted

Gets or sets the binding logic for Syncfusion.Windows.Controls.Calendar.IsTodayHighlighted

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

Property Value

IOneOrTwoWayBind<TViewModel, bool>

SelectedDate

Gets or sets the binding logic for Syncfusion.Windows.Controls.Calendar.SelectedDate

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

Property Value

IOneOrTwoWayBind<TViewModel, DateTime?>

SelectedDates

Gets or sets the binding logic for Syncfusion.Windows.Controls.Calendar.SelectedDates

public IOneWayBind<TViewModel, SelectedDatesCollection>? SelectedDates { get; init; }

Property Value

IOneWayBind<TViewModel, SelectedDatesCollection>

SelectionMode

Gets or sets the binding logic for Syncfusion.Windows.Controls.Calendar.SelectionMode

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

Property Value

IOneOrTwoWayBind<TViewModel, CalendarSelectionMode>

ShortestDayNames

Gets or sets the binding logic for Syncfusion.Windows.Controls.Calendar.ShortestDayNames

public IOneOrTwoWayBind<TViewModel, string[]>? ShortestDayNames { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, string[]>

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.