Click or drag to resize
IConnection Interface
Represents a connection.

Namespace: Telerik.Windows.Diagrams.Core
Assembly: Telerik.Windows.Diagrams.Core (in Telerik.Windows.Diagrams.Core.dll) Version: 2017.2.614.40 (2017.2.614.40)
Syntax
public interface IConnection : IDiagramItem, 
	ISerializable, ISupportMouseOver, IPropertyChanged, IGroupable, ISupportManipulation, 
	ISupportVirtualization, IContainerChild, ICollapsible

The IConnection type exposes the following members.

Methods
  NameDescription
Public methodAddConnectionPoint
Adds an intermediate connection point.
Public methodAttach
Attaches the connection to specific source and target.
Public methodDeserialize
Deserializes the specified info.
(Inherited from ISerializable.)
Public methodGetCrossings
Returns the information related to the crossing of this connection with other connections.
Public methodInitialize
Initializes the specified service locator and parent graph.
(Inherited from IDiagramItem.)
Public methodInsertConnectionPoint
Inserts the connection point after the specific index.
Public methodSerialize
Serializes this instance.
(Inherited from ISerializable.)
Public methodUpdate
Updates this connection.
Public methodUpdateDeferredGeometry
Updates the deferred geometry.
Top
Extension Methods
  NameDescription
Public Extension MethodAllPoints
Returns all the points of this connection, i.e. the start and end points together with the intermediate connection points.
(Defined by ConnectionUtilities.)
Public Extension MethodGetActualBounds
Gets the ActualBounds if the given item is an IShape, otherwise the IDiagramItem's Bounds will be returned.
(Defined by CommonExtensions.)
Public Extension MethodGetConnectionEndPoints
Gets the connection end points.
(Defined by ConnectionUtilities.)
Public Extension MethodGetDefaultHandleBezierPoints
Gets the default handle bezier points.
(Defined by ConnectionUtilities.)
Public Extension MethodGetSerializationInfoOverloaded.
Gets the SerializationInfo of the IDiagramItem.
(Defined by SerializationExtensions.)
Public Extension MethodGetSerializationInfoOverloaded.
Gets the serializationInfo.
(Defined by SerializationExtensions.)
Public Extension MethodGetSupremumGroup
Gets the first (lowest in the hierarchy) group which groups both given shapes.
(Defined by GroupExtensions.)
Public Extension MethodSegmentCount
Returns the number of segments defined by the intermediate points.
(Defined by ConnectionUtilities.)
Public Extension MethodSetConnectionPoints
Sets the connection points.
(Defined by ConnectionUtilities.)
Public Extension MethodSetFromSerializationInfo(SerializationInfo)Overloaded.
Sets from serialization info.
(Defined by SerializationExtensions.)
Public Extension MethodSetFromSerializationInfo(SerializationInfo)Overloaded.
Sets from serialization info.
(Defined by SerializationExtensions.)
Public Extension MethodTranslateConnectionPoints
Shifts the ConnectionPoints by adding or substracting the Position vector.
(Defined by ConnectionUtilities.)
Top
Properties
  NameDescription
Public propertyAllowCopy
Gets or sets a value indicating whether copying is allowed.
(Inherited from ISupportManipulation.)
Public propertyAllowCut
Gets or sets a value indicating whether cutting is allowed.
(Inherited from ISupportManipulation.)
Public propertyAllowDelete
Gets or sets a value indicating whether deleting is allowed.
(Inherited from ISupportManipulation.)
Public propertyAllowPaste
Gets or sets a value indicating whether pasting is allowed.
(Inherited from ISupportManipulation.)
Public propertyBezierTension
Gets or sets the Bezier tension.
Public propertyBounds
Gets the bounds.
(Inherited from IDiagramItem.)
Public propertyConnectionPoints
Gets the connection points.
Public propertyConnectionType
Gets or sets the type of the connection.
Public propertyContent
Gets or sets the content.
(Inherited from IDiagramItem.)
Public propertyEndPoint
Gets or sets the position of where this connection ends.
Public propertyGeometry
Gets the geometry of the connection.
Public propertyId
Gets the unique identifier of this entity.
(Inherited from IDiagramItem.)
Public propertyIsCollapsed
Gets or sets a value indicating whether this item is collapsed.
(Inherited from ICollapsible.)
Public propertyIsConnectorsManipulationEnabled
Gets or sets a value indicating whether manipulation on the connectors is enabled.
(Inherited from ISupportManipulation.)
Public propertyIsDraggingEnabled
Gets or sets a value indicating whether dragging is enabled.
(Inherited from ISupportManipulation.)
Public propertyIsDynamic
Gets or sets whether this item is dynamically generated.
(Inherited from IDiagramItem.)
Public propertyIsEditable
Gets or sets a value indicating whether editing is enabled on this item.
(Inherited from IDiagramItem.)
Public propertyIsEnabled
Gets or sets whether the diagram entity is enabled.
(Inherited from IDiagramItem.)
Public propertyIsInEditMode
Gets or sets whether the instance in is edit mode.
(Inherited from IDiagramItem.)
Public propertyIsManipulationAdornerVisible
Gets or sets a value indicating whether the manipulation adorner is visible.
(Inherited from ISupportManipulation.)
Public propertyIsModified
Gets or sets a value indicating whether the default Bezier handles have been altered or an intermediate point have been added/removed.
Public propertyIsMouseOver
Gets a value indicating whether this instance is mouse over.
(Inherited from ISupportMouseOver.)
Public propertyIsResizingEnabled
Gets or sets a value indicating whether this instance is resizing enabled.
(Inherited from ISupportManipulation.)
Public propertyIsRotationEnabled
Gets or sets a value indicating whether this instance is rotation enabled.
(Inherited from ISupportManipulation.)
Public propertyIsSelected
Gets or sets whether the diagram entity is selected.
(Inherited from IDiagramItem.)
Public propertyManipulationPoints
Gets the manipulation points (the adorning elements of the connection which allow you to alter an intermediate connection point).
Public propertyName
Gets or sets the unique name of this entity.
(Inherited from IDiagramItem.)
Public propertyParentContainer
Gets the parent container shape.
(Inherited from IContainerChild.)
Public propertyParentGroup
Gets or sets the (unique) parent of this item.
(Inherited from IGroupable.)
Public propertyPosition
Gets or sets the position.
(Inherited from IDiagramItem.)
Public propertyRenderTransformOrigin
Gets or sets the center point of any possible render transform declared by System.Windows.UIElement.RenderTransform, relative to the bounds of the element.
(Inherited from IDiagramItem.)
Public propertyRoute
Gets or sets whether this connection will be automatically routed.
Public propertySource
Gets or sets the source shape of this connection.
Public propertySourceCapSize
Gets or sets the size of the source cap (source decorator or arrow head).
Public propertySourceCapType
Gets or sets the type of the source cap.
Public propertySourceConnectorPosition
Gets or sets the position of the source connector.
Public propertySourceConnectorResult
Gets the actual source connector of this connection if the connector is dynamically assigned (Auto).
Public propertyStartPoint
Gets or sets the position of where this connection starts.
Public propertyTarget
Gets or sets the target shape of this connection.
Public propertyTargetCapSize
Gets or sets the size of the target cap (target decorator or arrow head).
Public propertyTargetCapType
Gets or sets the type of the target cap (target decorator or arrow head).
Public propertyTargetConnectorPosition
Gets or sets the target connector position.
Public propertyTargetConnectorResult
Gets the actual target connector of this connection if the connector is dynamically assigned (Auto).
Public propertyVirtualizationState
Get a value indicating item state regarding virtualization.
(Inherited from ISupportVirtualization.)
Public propertyVisibility
Gets or sets a value indicating whether this instance is visible.
(Inherited from IDiagramItem.)
Public propertyZIndex
Gets or sets the ZIndex of this instance.
(Inherited from IDiagramItem.)
Top
Events
  NameDescription
Public eventManipulationPointActivated
Occurs when a manipulation point (an adorner of the connection which allows you to alter an intermediate connection point) is activated.
Public eventParentGroupChanged
Occurs when the group to which this item belongs has changed.
(Inherited from IGroupable.)
Public eventPropertyChanged
Occurs when a property value changes.
(Inherited from IPropertyChanged.)
Top
See Also