Table of Contents

Class AbstractUnboundVirtualizingStackPanelControlBindingModel<TView, TViewModel, TControl>

Namespace
Whipstaff.Wpf.ViewToViewModelBindings.System.Windows.Controls
Assembly
Whipstaff.Wpf.dll

A class that contains Viewmodel bindings for the VirtualizingStackPanel control.

public abstract class AbstractUnboundVirtualizingStackPanelControlBindingModel<TView, TViewModel, TControl> : AbstractUnboundVirtualizingPanelControlBindingModel<TView, TViewModel, TControl>, IControlBindingModel<TView, TViewModel> where TView : class, IViewFor<TViewModel> where TViewModel : class, IReactiveObject where TControl : VirtualizingStackPanel

Type Parameters

TView
TViewModel
TControl
Inheritance
AbstractControlBindingModel<TView, TViewModel, TControl>
AbstractUnboundUIElementControlBindingModel<TView, TViewModel, TControl>
AbstractUnboundPanelControlBindingModel<TView, TViewModel, TControl>
AbstractUnboundVirtualizingStackPanelControlBindingModel<TView, TViewModel, TControl>
Implements
IControlBindingModel<TView, TViewModel>
Derived
Inherited Members

Constructors

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

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

Parameters

viewExpression Expression<Func<TView, TControl>>

expression representing the control on the view to bind to.

Properties

CanHorizontallyScroll

Gets or sets the binding logic for CanHorizontallyScroll

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

Property Value

IOneOrTwoWayBind<TViewModel, bool>

CanVerticallyScroll

Gets or sets the binding logic for CanVerticallyScroll

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

Property Value

IOneOrTwoWayBind<TViewModel, bool>

ExtentHeight

Gets or sets the binding logic for ExtentHeight

public IOneWayBind<TViewModel, double>? ExtentHeight { get; init; }

Property Value

IOneWayBind<TViewModel, double>

ExtentWidth

Gets or sets the binding logic for ExtentWidth

public IOneWayBind<TViewModel, double>? ExtentWidth { get; init; }

Property Value

IOneWayBind<TViewModel, double>

HorizontalOffset

Gets or sets the binding logic for HorizontalOffset

public IOneWayBind<TViewModel, double>? HorizontalOffset { get; init; }

Property Value

IOneWayBind<TViewModel, double>

Orientation

Gets or sets the binding logic for Orientation

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

Property Value

IOneOrTwoWayBind<TViewModel, Orientation>

ScrollOwner

Gets or sets the binding logic for ScrollOwner

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

Property Value

IOneOrTwoWayBind<TViewModel, ScrollViewer>

VerticalOffset

Gets or sets the binding logic for VerticalOffset

public IOneWayBind<TViewModel, double>? VerticalOffset { get; init; }

Property Value

IOneWayBind<TViewModel, double>

ViewportHeight

Gets or sets the binding logic for ViewportHeight

public IOneWayBind<TViewModel, double>? ViewportHeight { get; init; }

Property Value

IOneWayBind<TViewModel, double>

ViewportWidth

Gets or sets the binding logic for ViewportWidth

public IOneWayBind<TViewModel, double>? ViewportWidth { get; init; }

Property Value

IOneWayBind<TViewModel, double>

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.