Table of Contents

Class AbstractUnboundNodeControlBindingModel<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.Node control.

public abstract class AbstractUnboundNodeControlBindingModel<TView, TViewModel, TControl> : AbstractUnboundContentControlControlBindingModel<TView, TViewModel, TControl>, IControlBindingModel<TView, TViewModel> where TView : class, IViewFor<TViewModel> where TViewModel : class, IReactiveObject where TControl : Node

Type Parameters

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

Constructors

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

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

Parameters

viewExpression Expression<Func<TView, TControl>>

expression representing the control on the view to bind to.

Properties

AnnotationConstraints

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.Node.AnnotationConstraints

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

Property Value

IOneOrTwoWayBind<TViewModel, AnnotationConstraints>

Annotations

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.Node.Annotations

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

Property Value

IOneOrTwoWayBind<TViewModel, object>

BoundingRectangle

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

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

Property Value

IOneWayBind<TViewModel, Rect>

Bounds

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.Node.Bounds

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

Property Value

IOneWayBind<TViewModel, Rect>

ConnectorPadding

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.Node.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.Node.Constraints

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

Property Value

IOneOrTwoWayBind<TViewModel, NodeConstraints>

Flip

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.Node.Flip

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

Property Value

IOneOrTwoWayBind<TViewModel, Flip>

FlipMode

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.Node.FlipMode

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

Property Value

IOneOrTwoWayBind<TViewModel, FlipMode>

HitPadding

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.Node.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.Node.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.Node.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.Node.IsConnecting

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

Property Value

IOneOrTwoWayBind<TViewModel, bool>

IsExpanded

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.Node.IsExpanded

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

Property Value

IOneOrTwoWayBind<TViewModel, bool>

IsSelected

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.Node.IsSelected

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

Property Value

IOneOrTwoWayBind<TViewModel, bool>

Key

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

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

Property Value

IOneOrTwoWayBind<TViewModel, object>

LaneOffsetX

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.Node.LaneOffsetX

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

Property Value

IOneOrTwoWayBind<TViewModel, double>

LaneOffsetY

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.Node.LaneOffsetY

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

Property Value

IOneOrTwoWayBind<TViewModel, double>

Menu

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.Node.Menu

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

Property Value

IOneOrTwoWayBind<TViewModel, DiagramMenu>

OffsetX

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.Node.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.Node.OffsetY

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

Property Value

IOneOrTwoWayBind<TViewModel, double>

ParentGroup

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.Node.ParentGroup

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

Property Value

IOneOrTwoWayBind<TViewModel, object>

Pivot

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.Node.Pivot

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

Property Value

IOneOrTwoWayBind<TViewModel, Point>

PortVisibility

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

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

Property Value

IOneOrTwoWayBind<TViewModel, PortVisibility>

Ports

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

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

Property Value

IOneOrTwoWayBind<TViewModel, object>

RotateAngle

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.Node.RotateAngle

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

Property Value

IOneOrTwoWayBind<TViewModel, double>

SearchTags

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.Node.SearchTags

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

Property Value

IOneOrTwoWayBind<TViewModel, IEnumerable<string>>

Shape

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.Node.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.Node.ShapeStyle

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

Property Value

IOneOrTwoWayBind<TViewModel, Style>

SnapToObject

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.Node.SnapToObject

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

Property Value

IOneOrTwoWayBind<TViewModel, SnapToObject>

ThemeStyleId

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.Node.ThemeStyleId

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

Property Value

IOneOrTwoWayBind<TViewModel, StyleId>

UnitHeight

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.Node.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.Node.UnitWidth

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

Property Value

IOneOrTwoWayBind<TViewModel, double>

ZIndex

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.Node.ZIndex

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

Property Value

IOneOrTwoWayBind<TViewModel, int>

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.