Table of Contents

Class AbstractUnboundDayCellControlBindingModel<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.DayCell control.

public abstract class AbstractUnboundDayCellControlBindingModel<TView, TViewModel, TControl> : AbstractUnboundCellControlBindingModel<TView, TViewModel, TControl>, IControlBindingModel<TView, TViewModel> where TView : class, IViewFor<TViewModel> where TViewModel : class, IReactiveObject where TControl : DayCell

Type Parameters

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

Constructors

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

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

Parameters

viewExpression Expression<Func<TView, TControl>>

expression representing the control on the view to bind to.

Properties

Date

Gets or sets the binding logic for Syncfusion.Windows.Shared.DayCell.Date

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

Property Value

IOneOrTwoWayBind<TViewModel, Date>

IsCurrentMonth

Gets or sets the binding logic for Syncfusion.Windows.Shared.DayCell.IsCurrentMonth

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

Property Value

IOneOrTwoWayBind<TViewModel, bool>

IsDate

Gets or sets the binding logic for Syncfusion.Windows.Shared.DayCell.IsDate

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

Property Value

IOneOrTwoWayBind<TViewModel, bool>

IsFirstDayofMonth

Gets or sets the binding logic for Syncfusion.Windows.Shared.DayCell.IsFirstDayofMonth

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

Property Value

IOneOrTwoWayBind<TViewModel, bool>

IsToday

Gets or sets the binding logic for Syncfusion.Windows.Shared.DayCell.IsToday

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

Property Value

IOneOrTwoWayBind<TViewModel, bool>

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.