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

Represents connector routed event args.

Definition

Namespace:Telerik.WinControls.UI.Diagrams

Assembly:Telerik.WinControls.RadDiagram.dll

Syntax:

C#
public sealed class ConnectorRoutedEventArgs : RoutedEventArgs

Inheritance: objectEventArgsRoutedEventArgsConnectorRoutedEventArgs

Inherited Members RoutedEventArgs.HandledRoutedEventArgs.OriginalSourceRoutedEventArgs.RoutedEventRoutedEventArgs.SourceEventArgs.Empty

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; }