Skip to main content

DiagramConnector Members

Connects two diagram items or two points.

Constructors

Name Description
DiagramConnector() Initializes a new instance of the DiagramConnector class.
DiagramConnector(ConnectorType, PointFloat, PointFloat, PointFloat[]) Initializes a new instance of the DiagramConnector class with the specified settings.
DiagramConnector(ConnectorType, PointFloat, PointFloat) Initializes a new instance of the DiagramConnector class with the specified settings.
DiagramConnector(ConnectorType, DiagramItem, DiagramItem) Initializes a new instance of the DiagramConnector class with the specified settings.
DiagramConnector(ConnectorType, PointF, PointF, PointF[]) Initializes a new instance of the DiagramConnector class with the specified settings.
DiagramConnector(ConnectorType, PointF, PointF) Initializes a new instance of the DiagramConnector class with the specified settings.
DiagramConnector(ConnectorType) Initializes a new instance of the DiagramConnector class with the specified settings.
DiagramConnector(PointFloat, PointFloat, PointFloat[]) Initializes a new instance of the DiagramConnector class with the specified settings.
DiagramConnector(PointFloat, PointFloat) Initializes a new instance of the DiagramConnector class with the specified settings.
DiagramConnector(DiagramItem, DiagramItem, PointF[]) Initializes a new instance of the DiagramConnector class with the specified settings.
DiagramConnector(DiagramItem, DiagramItem) Initializes a new instance of the DiagramConnector class with the specified settings.
DiagramConnector(PointF, PointF, PointF[]) Initializes a new instance of the DiagramConnector class with the specified settings.
DiagramConnector(PointF, PointF) Initializes a new instance of the DiagramConnector class with the specified settings.

Properties

Name Description
AccessibleObject Gets an object that contains accessibility information about the diagram item. Inherited from DiagramItem.
ActualBeginPoint
ActualConnectionPoints This member is not supported by the DiagramConnector class.
ActualEndPoint
ActualPadding Gets the actual padding for the diagram item. Inherited from DiagramItem.
ActualPaddingF Gets the actual padding for the diagram item. Inherited from DiagramItem.
AffectedByLayoutAlgorithms Specifies whether the item can be realigned by the automatic layout algoritms. Inherited from DiagramItem.
Anchors This member is not supported by the DiagramConnector class.
Angle This member is not supported by the DiagramConnector class.
Appearance Provides access to the item’s appearance settings. Inherited from DiagramItem.
AreSubordinatesVisible This member supports the internal infrastructure and is not intended to be used directly from your code.
BackgroundId This member supports the internal infrastructure, and is not intended to be used directly from your code. Inherited from DiagramItem.
BeginArrow Gets or sets the connector’s start arrow style.
BeginArrowSize Gets or sets the connector’s starting arrow size.
BeginItem Gets or sets the start item for the connector.
BeginItemPointIndex Gets or sets the connection point on the start diagram item to which the connector is glued.
BeginLabelArrowOffset Specifies the offset from the start arrow for the BeginLeftLabel and the BeginRightLabel.
BeginLabelConnectorOffset Specifies the offset from the connector for the BeginLeftLabel and the BeginRightLabel.
BeginLeftLabel Specifies the text displayed next to the connector’s begin point to the left relative to its direction.
BeginPoint Gets or sets the connector’s starting point within the diagram canvas.
BeginPointRestrictions Specifies the restrictions applied to the end-user actions with the connector’s begin point.
BeginRightLabel Specifies the text displayed next to the connector’s begin point to the right relative to its direction.
Bindings Gets a collection of current diagram item’s bindings. Inherited from DiagramItem.
Bounds Gets or sets the item bounds. Inherited from DiagramItem.
CanAttachConnectorBeginPoint This member is not supported by the DiagramConnector class.
CanAttachConnectorEndPoint This member is not supported by the DiagramConnector class.
CanChangeParent This member is not supported by the DiagramConnector class.
CanChangeRoute Specifies whether to allow end-users to modify the connector’s route.
CanCopy Specifies whether to allow end-users to copy the item to the clipboard. Inherited from DiagramItem.
CanCopyWithoutParent Specifies whether to allow end-users to copy the item placed in a container. Inherited from DiagramItem.
CanDelete Specifies whether to allow end-users to delete the item. Inherited from DiagramItem.
CanDeleteWithoutParent Specifies whether to allow end-users to delete the item placed in a container. Inherited from DiagramItem.
CanDragBeginPoint Specifies whether to allow end-users to drag the connector’s begin point.
CanDragEndPoint Specifies whether to allow end-users to drag the connector’s end point.
CanEdit Specifies whether to allow end-users to edit the text displayed by the item. Inherited from DiagramItem.
CanHideSubordinates This member supports the internal infrastructure and is not intended to be used directly from your code.
CanMove Specifies whether to allow end-users to move the item across the canvas. Inherited from DiagramItem.
CanRaiseEvents protected Gets a value indicating whether the component can raise an event. Inherited from Component.
CanResize This member is not supported by the DiagramConnector class.
CanRotate This member is not supported by the DiagramConnector class.
CanSelect Specifies whether to allow end-users to select the item. Inherited from DiagramItem.
CanSnapToOtherItems This member is not supported by the DiagramConnector class.
CanSnapToThisItem This member is not supported by the DiagramConnector class.
CollapseButtonHorizontalAlignment This member supports the internal infrastructure and is not intended to be used directly from your code.
CollapseButtonOffset This member supports the internal infrastructure and is not intended to be used directly from your code.
CollapseButtonPosition This member supports the internal infrastructure and is not intended to be used directly from your code.
CollapseButtonVerticalAlignment This member supports the internal infrastructure and is not intended to be used directly from your code.
CollapseButtonVisibilityMode This member supports the internal infrastructure and is not intended to be used directly from your code.
ConnectionPoints This member is not supported by the DiagramConnector class.
Container Gets the IContainer that contains the Component. Inherited from Component.
Content Gets or sets the text displayed within the connector.
CustomStyleId This member supports the internal infrastructure, and is not intended to be used directly from your code. Inherited from DiagramItem.
DataContext Gets or sets the data item bound to the diagram item. Inherited from DiagramItem.
DesignMode protected Gets a value that indicates whether the Component is currently in design mode. Inherited from Component.
EndArrow Gets or sets the connector’s end arrow style.
EndArrowSize Gets or sets the connector’s ending arrow size.
EndItem Gets or sets the end item for the connector.
EndItemPointIndex Gets or sets the connection point on the end diagram item to which the connector is glued.
EndLabelArrowOffset Specifies the offset from the end arrow for the EndLeftLabel and the EndRightLabel.
EndLabelConnectorOffset Specifies the offset from the connector for the EndLeftLabel and the EndRightLabel.
EndLeftLabel Specifies the text displayed next to the connector’s end point to the left relative to its direction.
EndPoint Gets or sets the connector’s end point on the diagram canvas.
EndPointRestrictions Specifies the restrictions applied to the end-user actions with the connector’s end point.
EndRightLabel Specifies the text displayed next to the connector’s end point to the right relative to its direction.
Events protected Gets the list of event handlers that are attached to this Component. Inherited from Component.
ForegroundId This member supports the internal infrastructure, and is not intended to be used directly from your code. Inherited from DiagramItem.
Height Gets or sets the item height. Inherited from DiagramItem.
IncomingConnectors This member supports the internal infrastructure and is not intended to be used directly from your code.
IsDisposed Gets whether the current diagram item is disposed. Inherited from DiagramItem.
IsSelected Gets whether the current item is selected. Inherited from DiagramItem.
IsTextEditMode Gets whether the diagram item’s text is currently being edited. Inherited from DiagramItem.
IsVisible Gets whether the current diagram item is visible. Inherited from DiagramItem.
MinHeight Gets or sets the minimum item height. Inherited from DiagramItem.
MinSize This member is not supported by the DiagramConnector class.
MinWidth Gets or sets the minimum item width. Inherited from DiagramItem.
MoveWithSubordinates This member supports the internal infrastructure and is not intended to be used directly from your code.
OutgoingConnectors This member supports the internal infrastructure and is not intended to be used directly from your code.
Owner Gets the owner of the current diagram item. Inherited from DiagramItem.
Padding This member is not supported by the DiagramConnector class.
ParentItem Returns the current item’s parent item. Inherited from DiagramItem.
Points Gets or sets a collection of turn points for the connector.
Position This member is not supported by the DiagramConnector class.
SelectionLayer This member supports the internal infrastructure, and is not intended to be used directly from your code. Inherited from DiagramItem.
Site Gets or sets the ISite of the Component. Inherited from Component.
Size This member supports the internal infrastructure and is not intended to be used directly from your code.
StrokeId This member supports the internal infrastructure, and is not intended to be used directly from your code. Inherited from DiagramItem.
TabStop Gets or sets whether the current item can be navigated to during item navigation using the TAB key. Inherited from DiagramItem.
Tag Gets or sets an arbitrary object value that can be used to store custom information about this element. Inherited from DiagramItem.
TemplateCondition Gets or sets a condition that is used to choose a template for the diagram item. Inherited from DiagramItem.
TemplateName Identifies the item as a template used by data binding controllers. Inherited from DiagramItem.
Text Obsolete. Gets or sets the text displayed within the connector.
TextPosition
ThemeStyleId Gets or sets the identifier of a style applied to the diagram item. Inherited from DiagramItem.
Type Gets or sets the connector’s type.
Weight This member supports the internal infrastructure and is not intended to be used directly from your code. Inherited from DiagramItem.
Width Gets or sets the item width. Inherited from DiagramItem.
X For internal use. Inherited from DiagramItem.
Y For internal use. Inherited from DiagramItem.

Methods

Name Description
CreateObjRef(Type) Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. Inherited from MarshalByRefObject.
Dispose() Releases all resources used by the Component. Inherited from Component.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetDiagram() Gets the diagram control that is the owner of the diagram item. Inherited from DiagramItem.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetLabelPosition(ConnectorLabelType)
GetLifetimeService() Retrieves the current lifetime service object that controls the lifetime policy for this instance. Inherited from MarshalByRefObject.
GetService(Type) protected Returns an object that represents a service provided by the Component or by its Container. Inherited from Component.
GetType() Gets the Type of the current instance. Inherited from Object.
InitializeLifetimeService() Obtains a lifetime service object to control the lifetime policy for this instance. Inherited from MarshalByRefObject.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
MemberwiseClone(Boolean) protected Creates a shallow copy of the current MarshalByRefObject object. Inherited from MarshalByRefObject.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a String containing the name of the Component, if any. This method should not be overridden. Inherited from Component.
UpdateRoute() Recalculates the diagram connector’s route.

Events

Name Description
AngleChanged Fires each time the value of the DiagramItem.Angle property is changed. Inherited from DiagramItem.
BeginLabelArrowOffsetChanged
BeginLabelConnectorOffsetChanged
BeginLeftLabelChanged
BeginRightLabelChanged
BoundsChanged Fires each time the value of the DiagramItem.Bounds property is changed. Inherited from DiagramItem.
CanHideSubordinatesChanged Inherited from DiagramItem.
ContentChanged Fires each time the value of the DiagramConnector.Content property is changed.
Disposed Occurs when the component is disposed by a call to the Dispose() method. Inherited from Component.
EndLabelArrowOffsetChanged
EndLabelConnectorOffsetChanged
EndLeftLabelChanged
EndRightLabelChanged
HeightChanged Fires each time the value of the DiagramItem.Height property is changed. Inherited from DiagramItem.
PositionChanged Fires each time the value of the DiagramItem.Position property is changed. Inherited from DiagramItem.
SizeChanged Fires each time the value of either DiagramItem.Height or DiagramItem.Width property is changed. Inherited from DiagramItem.
WidthChanged Fires each time the value of the DiagramItem.Width property is changed. Inherited from DiagramItem.
XChanged Fires each time the value of the DiagramItem.X property is changed. Inherited from DiagramItem.
YChanged Fires each time the value of the DiagramItem.Y property is changed. Inherited from DiagramItem.
See Also