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

Represents connector routed event args.

Definition

Namespace:Telerik.Windows.Controls.Diagrams

Assembly:Telerik.Windows.Controls.Diagrams.dll

Syntax:

C#
public sealed class ConnectorRoutedEventArgs : RadRoutedEventArgs

Inheritance: objectRadRoutedEventArgsConnectorRoutedEventArgs

Constructors

Initializes a new instance of the ConnectorRoutedEventArgs class.

C#
public ConnectorRoutedEventArgs(RoutedEvent routedEvent, IConnection connection, IShape shape, bool attachSource)
Parameters:routedEventRoutedEvent

The routed event.

connectionIConnection

The connection.

shapeIShape

The shape.

attachSourcebool

True is the connection attaches to the shape as source, otherwise as target.

Properties

Gets a value whether the connection is attached as source to the shape.

C#
public bool AttachAsSource { get; }

Gets a value whether the connection is attached as target to the shape.

C#
public bool AttachAsTarget { get; }

The connection.

C#
public IConnection Connection { get; }

The shape.

C#
public IShape Shape { get; }