New to Telerik UI for WPFStart a free 30-day trial

A generic base class for the link or connection in a diagram source.

Definition

Constructors

Initializes a new instance of the LinkViewModelBase<T> class.

C#
public LinkViewModelBase()

Initializes a new instance of the LinkViewModelBase<T> class.

C#
public LinkViewModelBase(T source, T target)
Parameters:sourceT

The source.

targetT

The target.

Properties

Gets or sets the source of the connection.

C#
public T Source { get; set; }
Property Value:

The source.

Implements: ILink<T>.Source

Gets or sets the type of the source cap.

C#
public CapType SourceCapType { get; set; }
Property Value:

The type of the source cap.

Gets or sets the target of this connection.

C#
public T Target { get; set; }
Property Value:

The target.

Implements: ILink<T>.Target

Gets or sets the type of the target cap.

C#
public CapType TargetCapType { get; set; }
Property Value:

The type of the target cap.