Table of Contents

Class AbstractUnboundUIElementControlBindingModel<TView, TViewModel, TControl>

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

A class that contains Viewmodel bindings for the UIElement control.

public abstract class AbstractUnboundUIElementControlBindingModel<TView, TViewModel, TControl> : AbstractControlBindingModel<TView, TViewModel, TControl>, IControlBindingModel<TView, TViewModel> where TView : class, IViewFor<TViewModel> where TViewModel : class, IReactiveObject where TControl : UIElement

Type Parameters

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

Constructors

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

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

Parameters

viewExpression Expression<Func<TView, TControl>>

expression representing the control on the view to bind to.

Properties

AllowDrop

Gets or sets the binding logic for AllowDrop

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

Property Value

IOneOrTwoWayBind<TViewModel, bool>

AreAnyTouchesCaptured

Gets or sets the binding logic for AreAnyTouchesCaptured

public IOneWayBind<TViewModel, bool>? AreAnyTouchesCaptured { get; init; }

Property Value

IOneWayBind<TViewModel, bool>

AreAnyTouchesCapturedWithin

Gets or sets the binding logic for AreAnyTouchesCapturedWithin

public IOneWayBind<TViewModel, bool>? AreAnyTouchesCapturedWithin { get; init; }

Property Value

IOneWayBind<TViewModel, bool>

AreAnyTouchesDirectlyOver

Gets or sets the binding logic for AreAnyTouchesDirectlyOver

public IOneWayBind<TViewModel, bool>? AreAnyTouchesDirectlyOver { get; init; }

Property Value

IOneWayBind<TViewModel, bool>

AreAnyTouchesOver

Gets or sets the binding logic for AreAnyTouchesOver

public IOneWayBind<TViewModel, bool>? AreAnyTouchesOver { get; init; }

Property Value

IOneWayBind<TViewModel, bool>

CacheMode

Gets or sets the binding logic for CacheMode

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

Property Value

IOneOrTwoWayBind<TViewModel, CacheMode>

Clip

Gets or sets the binding logic for Clip

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

Property Value

IOneOrTwoWayBind<TViewModel, Geometry>

ClipToBounds

Gets or sets the binding logic for ClipToBounds

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

Property Value

IOneOrTwoWayBind<TViewModel, bool>

CommandBindings

Gets or sets the binding logic for CommandBindings

public IOneWayBind<TViewModel, CommandBindingCollection>? CommandBindings { get; init; }

Property Value

IOneWayBind<TViewModel, CommandBindingCollection>

DesiredSize

Gets or sets the binding logic for DesiredSize

public IOneWayBind<TViewModel, Size> DesiredSize { get; init; }

Property Value

IOneWayBind<TViewModel, Size>

Effect

Gets or sets the binding logic for Effect

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

Property Value

IOneOrTwoWayBind<TViewModel, Effect>

Focusable

Gets or sets the binding logic for Focusable

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

Property Value

IOneOrTwoWayBind<TViewModel, bool>

HasAnimatedProperties

Gets or sets the binding logic for HasAnimatedProperties

public IOneWayBind<TViewModel, bool>? HasAnimatedProperties { get; init; }

Property Value

IOneWayBind<TViewModel, bool>

InputBindings

Gets or sets the binding logic for InputBindings

public IOneWayBind<TViewModel, InputBindingCollection>? InputBindings { get; init; }

Property Value

IOneWayBind<TViewModel, InputBindingCollection>

IsArrangeValid

Gets or sets the binding logic for IsArrangeValid

public IOneWayBind<TViewModel, bool>? IsArrangeValid { get; init; }

Property Value

IOneWayBind<TViewModel, bool>

IsEnabled

Gets or sets the binding logic for IsEnabled

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

Property Value

IOneOrTwoWayBind<TViewModel, bool>

IsFocused

Gets or sets the binding logic for IsFocused

public IOneWayBind<TViewModel, bool>? IsFocused { get; init; }

Property Value

IOneWayBind<TViewModel, bool>

IsHitTestVisible

Gets or sets the binding logic for IsHitTestVisible

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

Property Value

IOneOrTwoWayBind<TViewModel, bool>

IsInputMethodEnabled

Gets or sets the binding logic for IsInputMethodEnabled

public IOneWayBind<TViewModel, bool>? IsInputMethodEnabled { get; init; }

Property Value

IOneWayBind<TViewModel, bool>

IsKeyboardFocusWithin

Gets or sets the binding logic for IsKeyboardFocusWithin

public IOneWayBind<TViewModel, bool>? IsKeyboardFocusWithin { get; init; }

Property Value

IOneWayBind<TViewModel, bool>

IsKeyboardFocused

Gets or sets the binding logic for IsKeyboardFocused

public IOneWayBind<TViewModel, bool>? IsKeyboardFocused { get; init; }

Property Value

IOneWayBind<TViewModel, bool>

IsManipulationEnabled

Gets or sets the binding logic for IsManipulationEnabled

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

Property Value

IOneOrTwoWayBind<TViewModel, bool>

IsMeasureValid

Gets or sets the binding logic for IsMeasureValid

public IOneWayBind<TViewModel, bool>? IsMeasureValid { get; init; }

Property Value

IOneWayBind<TViewModel, bool>

IsMouseCaptureWithin

Gets or sets the binding logic for IsMouseCaptureWithin

public IOneWayBind<TViewModel, bool>? IsMouseCaptureWithin { get; init; }

Property Value

IOneWayBind<TViewModel, bool>

IsMouseCaptured

Gets or sets the binding logic for IsMouseCaptured

public IOneWayBind<TViewModel, bool>? IsMouseCaptured { get; init; }

Property Value

IOneWayBind<TViewModel, bool>

IsMouseDirectlyOver

Gets or sets the binding logic for IsMouseDirectlyOver

public IOneWayBind<TViewModel, bool>? IsMouseDirectlyOver { get; init; }

Property Value

IOneWayBind<TViewModel, bool>

IsMouseOver

Gets or sets the binding logic for IsMouseOver

public IOneWayBind<TViewModel, bool>? IsMouseOver { get; init; }

Property Value

IOneWayBind<TViewModel, bool>

IsStylusCaptureWithin

Gets or sets the binding logic for IsStylusCaptureWithin

public IOneWayBind<TViewModel, bool>? IsStylusCaptureWithin { get; init; }

Property Value

IOneWayBind<TViewModel, bool>

IsStylusCaptured

Gets or sets the binding logic for IsStylusCaptured

public IOneWayBind<TViewModel, bool>? IsStylusCaptured { get; init; }

Property Value

IOneWayBind<TViewModel, bool>

IsStylusDirectlyOver

Gets or sets the binding logic for IsStylusDirectlyOver

public IOneWayBind<TViewModel, bool>? IsStylusDirectlyOver { get; init; }

Property Value

IOneWayBind<TViewModel, bool>

IsStylusOver

Gets or sets the binding logic for IsStylusOver

public IOneWayBind<TViewModel, bool>? IsStylusOver { get; init; }

Property Value

IOneWayBind<TViewModel, bool>

IsVisible

Gets or sets the binding logic for IsVisible

public IOneWayBind<TViewModel, bool>? IsVisible { get; init; }

Property Value

IOneWayBind<TViewModel, bool>

Opacity

Gets or sets the binding logic for Opacity

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

Property Value

IOneOrTwoWayBind<TViewModel, double>

OpacityMask

Gets or sets the binding logic for OpacityMask

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

Property Value

IOneOrTwoWayBind<TViewModel, Brush>

RenderSize

Gets or sets the binding logic for RenderSize

public IOneOrTwoWayBind<TViewModel, Size> RenderSize { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, Size>

RenderTransform

Gets or sets the binding logic for RenderTransform

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

Property Value

IOneOrTwoWayBind<TViewModel, Transform>

RenderTransformOrigin

Gets or sets the binding logic for RenderTransformOrigin

public IOneOrTwoWayBind<TViewModel, Point> RenderTransformOrigin { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, Point>

SnapsToDevicePixels

Gets or sets the binding logic for SnapsToDevicePixels

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

Property Value

IOneOrTwoWayBind<TViewModel, bool>

TouchesCaptured

Gets or sets the binding logic for TouchesCaptured

public IOneWayBind<TViewModel, IEnumerable<TouchDevice>>? TouchesCaptured { get; init; }

Property Value

IOneWayBind<TViewModel, IEnumerable<TouchDevice>>

TouchesCapturedWithin

Gets or sets the binding logic for TouchesCapturedWithin

public IOneWayBind<TViewModel, IEnumerable<TouchDevice>>? TouchesCapturedWithin { get; init; }

Property Value

IOneWayBind<TViewModel, IEnumerable<TouchDevice>>

TouchesDirectlyOver

Gets or sets the binding logic for TouchesDirectlyOver

public IOneWayBind<TViewModel, IEnumerable<TouchDevice>>? TouchesDirectlyOver { get; init; }

Property Value

IOneWayBind<TViewModel, IEnumerable<TouchDevice>>

TouchesOver

Gets or sets the binding logic for TouchesOver

public IOneWayBind<TViewModel, IEnumerable<TouchDevice>>? TouchesOver { get; init; }

Property Value

IOneWayBind<TViewModel, IEnumerable<TouchDevice>>

Uid

Gets or sets the binding logic for Uid

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

Property Value

IOneOrTwoWayBind<TViewModel, string>

Visibility

Gets or sets the binding logic for Visibility

public IOneOrTwoWayBind<TViewModel, Visibility>? Visibility { 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.