Table of Contents

Class AbstractUnboundPortBaseControlBindingModel<TView, TViewModel, TControl>

Namespace
Whipstaff.Wpf.ViewToViewModelBindings.Syncfusion.UI.Xaml.Diagram
Assembly
Whipstaff.Wpf.Syncfusion.SfDiagram.dll

A class that contains Viewmodel bindings for the Syncfusion.UI.Xaml.Diagram.PortBase control.

public abstract class AbstractUnboundPortBaseControlBindingModel<TView, TViewModel, TControl> : AbstractUnboundContentControlControlBindingModel<TView, TViewModel, TControl>, IControlBindingModel<TView, TViewModel> where TView : class, IViewFor<TViewModel> where TViewModel : class, IReactiveObject where TControl : PortBase

Type Parameters

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

Constructors

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

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

Parameters

viewExpression Expression<Func<TView, TControl>>

expression representing the control on the view to bind to.

Properties

BoundingRectangle

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.PortBase.BoundingRectangle

public IOneWayBind<TViewModel, Rect> BoundingRectangle { get; init; }

Property Value

IOneWayBind<TViewModel, Rect>

ConnectionDirection

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.PortBase.ConnectionDirection

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

Property Value

IOneOrTwoWayBind<TViewModel, ConnectionDirection>

ConnectorPadding

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.PortBase.ConnectorPadding

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

Property Value

IOneOrTwoWayBind<TViewModel, double>

Constraints

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.PortBase.Constraints

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

Property Value

IOneOrTwoWayBind<TViewModel, PortConstraints>

Displacement

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.PortBase.Displacement

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

Property Value

IOneOrTwoWayBind<TViewModel, Thickness>

HitPadding

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.PortBase.HitPadding

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

Property Value

IOneOrTwoWayBind<TViewModel, double>

ID

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.PortBase.ID

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

Property Value

IOneOrTwoWayBind<TViewModel, object>

Info

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.PortBase.Info

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

Property Value

IOneOrTwoWayBind<TViewModel, object>

IsConnecting

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.PortBase.IsConnecting

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

Property Value

IOneOrTwoWayBind<TViewModel, bool>

Key

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.PortBase.Key

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

Property Value

IOneOrTwoWayBind<TViewModel, object>

OffsetX

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.PortBase.OffsetX

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

Property Value

IOneOrTwoWayBind<TViewModel, double>

OffsetY

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.PortBase.OffsetY

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

Property Value

IOneOrTwoWayBind<TViewModel, double>

PortVisibility

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.PortBase.PortVisibility

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

Property Value

IOneOrTwoWayBind<TViewModel, PortVisibility>

Shape

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.PortBase.Shape

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

Property Value

IOneOrTwoWayBind<TViewModel, object>

ShapeStyle

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.PortBase.ShapeStyle

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

Property Value

IOneOrTwoWayBind<TViewModel, Style>

UnitHeight

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.PortBase.UnitHeight

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

Property Value

IOneOrTwoWayBind<TViewModel, double>

UnitWidth

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.PortBase.UnitWidth

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

Property Value

IOneOrTwoWayBind<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.