Table of Contents

Class AbstractUnboundConnectorBaseControlBindingModel<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.ConnectorBase control.

public abstract class AbstractUnboundConnectorBaseControlBindingModel<TView, TViewModel, TControl> : AbstractUnboundContentControlControlBindingModel<TView, TViewModel, TControl>, IControlBindingModel<TView, TViewModel> where TView : class, IViewFor<TViewModel> where TViewModel : class, IReactiveObject where TControl : ConnectorBase

Type Parameters

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

Constructors

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

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

Parameters

viewExpression Expression<Func<TView, TControl>>

expression representing the control on the view to bind to.

Properties

ConnectorGeometryStyle

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.ConnectorBase.ConnectorGeometryStyle

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

Property Value

IOneOrTwoWayBind<TViewModel, Style>

Geometry

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.ConnectorBase.Geometry

public IOneWayBind<TViewModel, PathGeometry>? Geometry { get; init; }

Property Value

IOneWayBind<TViewModel, PathGeometry>

HitPadding

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

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

Property Value

IOneOrTwoWayBind<TViewModel, double>

Key

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

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

Property Value

IOneOrTwoWayBind<TViewModel, object>

Ports

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.ConnectorBase.Ports

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

Property Value

IOneOrTwoWayBind<TViewModel, object>

Segments

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.ConnectorBase.Segments

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

Property Value

IOneOrTwoWayBind<TViewModel, object>

SourcePoint

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.ConnectorBase.SourcePoint

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

Property Value

IOneOrTwoWayBind<TViewModel, Point>

TargetPoint

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.ConnectorBase.TargetPoint

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

Property Value

IOneOrTwoWayBind<TViewModel, Point>

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.