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

The RadDiagramConnection is a special ContentControl that serves as a connection between zero, one or two shapes.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.RadDiagram.dll

Syntax:

C#
public class RadDiagramConnection : RadDiagramItem, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IStylableNode, ISupportDrop, IConnection, IDiagramItem, ISerializable, ISupportMouseOver, IPropertyChanged, IGroupable, ISupportManipulation, ISupportVirtualization, IContainerChild, ICollapsible

Inheritance: objectDisposableObjectRadObjectRadElementVisualElementUIElementFrameworkElementRadDiagramItemRadDiagramConnection...

Implements: ICollapsibleIConnectionIContainerChildICustomTypeDescriptorIDiagramItemIDisposableIGroupableINotifyPropertyChangedIPropertyChangedISerializableIStylableNodeISupportDropISupportManipulationISupportMouseOverISupportSystemSkinISupportVirtualization...

Inherited Members RadDiagramItem.IsSelectedPropertyRadDiagramItem.PositionPropertyRadDiagramItem.IsInEditModePropertyRadDiagramItem.IsEditablePropertyRadDiagramItem.EditTemplatePropertyRadDiagramItem.StrokePropertyRadDiagramItem.StrokeThicknessPropertyRadDiagramItem.StrokeDashArrayPropertyRadDiagramItem.GroupPropertyRadDiagramItem.IsResizingEnabledPropertyRadDiagramItem.IsRotationEnabledPropertyRadDiagramItem.IsDraggingEnabledPropertyRadDiagramItem.IsConnectorsManipulationEnabledPropertyRadDiagramItem.IsManipulationAdornerVisiblePropertyRadDiagramItem.AllowDeletePropertyRadDiagramItem.AllowCutPropertyRadDiagramItem.AllowCopyPropertyRadDiagramItem.AllowPastePropertyRadDiagramItem.EndEditEventRadDiagramItem.editTextBoxRadDiagramItem.OnParentChanged(RadElement)RadDiagramItem.InitializeGlobalSettingsFromDiagram(RadDiagramElement)RadDiagramItem.UpdateVisualStates()RadDiagramItem.Initialize(IGraphServiceLocator, IGraphInternal)RadDiagramItem.OnPropertyChanged(string)RadDiagramItem.OnIsEditableChanged(bool, bool)RadDiagramItem.CallEndEditEvent(object)RadDiagramItem.CallBeginEditEvent()RadDiagramItem.OnSizeChanged(Size, Size)RadDiagramItem.OnGroupNameChanged()RadDiagramItem.OnPositionChanged(Point, Point)RadDiagramItem.CustomizeTextBoxEditor()RadDiagramItem.IsEnabledRadDiagramItem.IsSelectedRadDiagramItem.AngleTransformRadDiagramItem.ParentGroupRadDiagramItem.ParentContainerRadDiagramItem.RightToLeftRadDiagramItem.StretchHorizontallyRadDiagramItem.StretchVerticallyRadDiagramItem.IsInEditModeRadDiagramItem.IsEditableRadDiagramItem.ContentRadDiagramItem.ZIndexRadDiagramItem.PositionRadDiagramItem.XRadDiagramItem.YRadDiagramItem.IsDynamicRadDiagramItem.IdRadDiagramItem.AlignmentRadDiagramItem.StrokeThicknessRadDiagramItem.StrokeDashArrayRadDiagramItem.IsRotationEnabledRadDiagramItem.IsResizingEnabledRadDiagramItem.IsDraggingEnabledRadDiagramItem.IsConnectorsManipulationEnabledRadDiagramItem.IsManipulationAdornerVisibleRadDiagramItem.AllowDeleteRadDiagramItem.AllowCutRadDiagramItem.AllowCopyRadDiagramItem.AllowPasteRadDiagramItem.IsSelectedInGroupRadDiagramItem.DiagramRadDiagramItem.ServiceLocatorRadDiagramItem.ActualSizeRadDiagramItem.IsServiceManipulationRadDiagramItem.DataBoundItemRadDiagramItem.BeginEditRadDiagramItem.PropertyChangedRadDiagramItem.ParentGroupChangedRadDiagramItem.PreviewBeginEditRadDiagramItem.PreviewEndEditRadDiagramItem.EndEditFrameworkElement.RenderTransformPropertyFrameworkElement.RenderTransformOriginPropertyFrameworkElement.CursorPropertyFrameworkElement.ForegroundPropertyFrameworkElement.HeightPropertyFrameworkElement.WidthPropertyFrameworkElement.SizeChangedFrameworkElement.InitializeFields()FrameworkElement.IsInVisibleClipBounds(Rectangle)FrameworkElement.GetClientRectangle(SizeF)FrameworkElement.PostPaintChildren(IGraphics, Rectangle, float, SizeF)FrameworkElement.OnBoundsChanged(RadPropertyChangedEventArgs)FrameworkElement.DragDrop(Point, ISupportDrag)FrameworkElement.DragOver(Point, ISupportDrag)FrameworkElement.DragEnter(Point, ISupportDrag)FrameworkElement.DragLeave(Point, ISupportDrag)FrameworkElement.FlowDirectionFrameworkElement.WidthFrameworkElement.HeightFrameworkElement.ActualHeightFrameworkElement.ActualWidthFrameworkElement.CursorFrameworkElement.RenderTransformOriginFrameworkElement.MouseOverBorderThicknessFrameworkElement.AllowDropUIElement.TextPropertyUIElement.FlowDirectionPropertyUIElement.ClipPropertyUIElement.UpdateRenderTransform()UIElement.CaptureMouse()UIElement.ReleaseMouseCapture()UIElement.Paint(IPaintingContext)UIElement.CanPaint(IPaintingContext)UIElement.PaintCore(IPaintingContext)UIElement.ClearValue(RadProperty)UIElement.IsKeyboardFocusWithin()UIElement.OnMouseLeftButtonDown(MouseButtonEventArgs)UIElement.OnMouseLeftButtonUp(MouseButtonEventArgs)UIElement.OnMouseRightButtonDown(MouseButtonEventArgs)UIElement.OnMouseRightButtonUp(MouseButtonEventArgs)UIElement.OnMouseClick(MouseButtonEventArgs)UIElement.OnMouseDoubleClick(MouseButtonEventArgs)UIElement.GetClipRect()UIElement.DoClick(EventArgs)UIElement.DoDoubleClick(EventArgs)UIElement.OnMouseDown(MouseEventArgs)UIElement.DoMouseWheel(MouseEventArgs)UIElement.DoMouseMove(MouseEventArgs)UIElement.OnMouseUp(MouseEventArgs)UIElement.OnBubbleEvent(RadElement, RoutedEventArgs)UIElement.OnClick(EventArgs)UIElement.OnDoubleClick(EventArgs)UIElement.OnLostFocus(EventArgs)UIElement.OnGotFocus(EventArgs)UIElement.IsFocusableUIElement.TextUIElement.AutomationIDUIElement.RenderTransformUIElement.ClipUIElement.IsHitTestVisibleUIElement.HasReceivedFocusUIElement.MouseLeftButtonDownUIElement.MouseLeftButtonUpUIElement.MouseRightButtonDownUIElement.MouseRightButtonUpUIElement.MouseClickUIElement.MouseDoubleClickUIElement.GotFocusUIElement.LostFocusVisualElement.DefaultSizePropertyVisualElement.ForeColorPropertyVisualElement.BackColorPropertyVisualElement.FontPropertyVisualElement.SmoothingModePropertyVisualElement.OpacityPropertyVisualElement.CustomFontPropertyVisualElement.CustomFontSizePropertyVisualElement.CustomFontStylePropertyVisualElement.OnFontChanged(EventArgs)VisualElement.OnPropertyChanging(RadPropertyChangingEventArgs)VisualElement.PaintChildren(IGraphics, Rectangle, float, SizeF, bool)VisualElement.PrePaintElement(IGraphics)VisualElement.PostPaintElement(IGraphics)VisualElement.GetScaledFont(float)VisualElement.GetScaledFont(float, Font)VisualElement.DefaultSizeVisualElement.BackColorVisualElement.FontVisualElement.CustomFontVisualElement.CustomFontSizeVisualElement.CustomFontStyleVisualElement.SmoothingModeVisualElement.OpacityVisualElement.FontChangedRadElement.BoundsPropertyRadElement.BorderThicknessPropertyRadElement.PaddingPropertyRadElement.MarginPropertyRadElement.AlignmentPropertyRadElement.AutoSizeModePropertyRadElement.FitToSizeModePropertyRadElement.MinSizePropertyRadElement.EnabledPropertyRadElement.CanFocusPropertyRadElement.IsItemFocusedPropertyRadElement.IsFocusedPropertyRadElement.IsMouseOverPropertyRadElement.IsMouseOverElementPropertyRadElement.IsMouseDownPropertyRadElement.ShouldPaintPropertyRadElement.VisibilityPropertyRadElement.NamePropertyRadElement.ClassPropertyRadElement.ClipDrawingPropertyRadElement.ShapePropertyRadElement.MouseClickedEventRadElement.MouseDoubleClickedEventRadElement.MouseDownEventRadElement.MouseUpEventRadElement.MouseWheelEventRadElement.ChildElementAddedEventRadElement.ParentChangedEventRadElement.BoundsChangedEventRadElement.VisibilityChangingEventRadElement.EnabledChangedEventRadElement.ControlChangedEventRadElement.BackgroundShapePropertyRadElement.BackgroundShapePaintModePropertyRadElement.ContainsFocusPropertyRadElement.ContainsMousePropertyRadElement.MaxSizePropertyRadElement.RightToLeftPropertyRadElement.AutoSizePropertyRadElement.ZIndexPropertyRadElement.AngleTransformPropertyRadElement.ScaleTransformPropertyRadElement.PositionOffsetPropertyRadElement.TagPropertyRadElement.StretchHorizontallyPropertyRadElement.StretchVerticallyPropertyRadElement.UseCompatibleTextRenderingPropertyRadElement.ClickModePropertyRadElement.styleVersionRadElement.paintSystemSkinRadElement.SetPropertyValueCommandRadElement.GetPropertyValueCommandRadElement.StylePropertyRadElement.CallCreateChildElements()RadElement.SuspendReferenceUpdate()RadElement.ResumeReferenceUpdate()RadElement.OnLoad(bool)RadElement.LoadCore()RadElement.OnUnload(ComponentThemableElementTree, bool)RadElement.UnloadCore(ComponentThemableElementTree)RadElement.OnUnloaded(ComponentThemableElementTree)RadElement.OnElementTreeChanged(ComponentThemableElementTree)RadElement.OnBeginDispose()RadElement.SetParent(RadElement)RadElement.UpdateReferences(ComponentThemableElementTree, bool, bool)RadElement.ResetLayout(bool)RadElement.HasInvisibleAncestor()RadElement.ResetLayoutCore()RadElement.InvalidateArrange()RadElement.InvalidateArrange(bool)RadElement.InvalidateMeasure()RadElement.InvalidateMeasure(bool)RadElement.UpdateLayout()RadElement.SuspendLayout()RadElement.SuspendLayout(bool)RadElement.ResumeLayout(bool)RadElement.ResumeLayout(bool, bool)RadElement.Arrange(RectangleF)RadElement.Measure(SizeF)RadElement.SetBounds(Rectangle)RadElement.SetBounds(int, int, int, int)RadElement.GetBoundingRectangle(Size)RadElement.GetBoundingRectangle(Rectangle)RadElement.GetDesiredSize(bool)RadElement.PointToScreen(Point)RadElement.PointFromScreen(Point)RadElement.PointToControl(Point)RadElement.PointFromControl(Point)RadElement.LocationToControl()RadElement.RectangleToScreen(Rectangle)RadElement.OnRenderSizeChanged(SizeChangedInfo)RadElement.OnChildDesiredSizeChanged(RadElement)RadElement.OnLayoutPropertyChanged(RadPropertyChangedEventArgs)RadElement.ArrangeCore(RectangleF)RadElement.MeasureCore(SizeF)RadElement.ShouldArrangeChild(RadElement)RadElement.ArrangeOverride(SizeF)RadElement.ShouldMeasureChild(RadElement)RadElement.MeasureChildren(SizeF)RadElement.GetArrangeRect(RectangleF)RadElement.CanExecuteLayoutOperation()RadElement.CalcLayoutOffset(PointF)RadElement.LockBounds()RadElement.UnlockBounds()RadElement.SetBoundsCore(Rectangle)RadElement.IsInValidState(bool)RadElement.Invalidate()RadElement.Invalidate(bool)RadElement.GetInvalidateBounds()RadElement.NotifyInvalidate(RadElement)RadElement.OnTransformationInvalidated()RadElement.PerformLayoutTransformation(ref RadMatrix)RadElement.PerformPaintTransformation(ref RadMatrix)RadElement.IsInGetAsBitmap()RadElement.PaintElementSkin(IGraphics)RadElement.PaintOverride(IGraphics, Rectangle, float, SizeF, bool)RadElement.PaintBackgroundShape(IGraphics)RadElement.PaintChild(RadElement, IGraphics, Rectangle, float, SizeF, bool)RadElement.PaintShadow(RadElement, IGraphics)RadElement.PaintShadowCore(Graphics, Rectangle, RadItem)RadElement.GetShadowRect(ref Rectangle, int)RadElement.PaintFocusCues(IGraphics, Rectangle)RadElement.GetAsBitmap(IGraphics, Brush, float, SizeF)RadElement.GetAsTransformedBitmap(IGraphics, Brush, float, SizeF)RadElement.GetAsTransformedBitmap(Brush, float, SizeF)RadElement.GetAsTransformedBitmap(Rectangle, Brush, float, SizeF)RadElement.GetAsBitmapEx(Color, float, SizeF)RadElement.GetAsBitmapEx(Brush, float, SizeF)RadElement.GetAsBitmap(Brush, float, SizeF)RadElement.SetClipping(Graphics)RadElement.ShouldPaintChild(RadElement)RadElement.GetFocusRect()RadElement.GetCurrentShape()RadElement.GetPaintRectangle(float, float, SizeF)RadElement.GetPatchedRect(RectangleF, float, SizeF)RadElement.GetXPVisualStyle()RadElement.GetVistaVisualStyle()RadElement.InitializeSystemSkinPaint()RadElement.UnitializeSystemSkinPaint()RadElement.GetSystemSkinPaintBounds()RadElement.OnUseSystemSkinChanged(EventArgs)RadElement.ShouldPaintSystemSkin()RadElement.ComposeShouldPaintSystemSkin()RadElement.GetStylablePropertiesFilter()RadElement.ResetStyleSettings(bool)RadElement.ResetStyleSettings(bool, RadProperty)RadElement.ProcessBehaviors(RadPropertyChangedEventArgs)RadElement.AddBehavior(PropertyChangeBehavior)RadElement.GetBehaviors()RadElement.RemoveBehavior(PropertyChangeBehavior)RadElement.ClearBehaviors()RadElement.AddRangeBehavior(PropertyChangeBehaviorCollection)RadElement.SetThemeApplied(bool)RadElement.OnStyleChanged(RadPropertyChangedEventArgs)RadElement.UnapplyStyle()RadElement.RemoveRangeBehaviors(PropertyChangeBehaviorCollection)RadElement.RemoveBehaviors(PropertyChangeBehavior)RadElement.RemoveRangeRoutedEventBehaviors(RoutedEventBehaviorCollection)RadElement.GetThemeEffectiveType()RadElement.GetChildrenByType(Type)RadElement.GetChildrenByBaseType(Type)RadElement.FindAncestorByThemeEffectiveType(Type)RadElement.FindAncestor<T>()RadElement.IsAncestorOf(RadElement)RadElement.FindDescendant<T>()RadElement.FindDescendant(Predicate<RadElement>)RadElement.FindDescendant(Type)RadElement.EnumDescendants(TreeTraversalMode)RadElement.EnumDescendants(Predicate<RadElement>, TreeTraversalMode)RadElement.EnumDescendants(Filter, TreeTraversalMode)RadElement.GetDescendants(Predicate<RadElement>, TreeTraversalMode)RadElement.GetDescendants(Filter, TreeTraversalMode)RadElement.GetAncestors(Filter)RadElement.GetAncestors(Predicate<RadElement>)RadElement.RaiseRoutedEvent(RadElement, RoutedEventArgs)RadElement.RaiseTunnelEvent(RadElement, RoutedEventArgs)RadElement.RaiseBubbleEvent(RadElement, RoutedEventArgs)RadElement.OnTunnelEvent(RadElement, RoutedEventArgs)RadElement.IsEventInProcess(RaisedRoutedEvent)RadElement.RegisterRoutedEvent(string, Type)RadElement.GetRegisterRoutedEvent(string, Type)RadElement.GetRegisterRoutedEvent(string, string)RadElement.GetRegisterRoutedEvent(string)RadElement.OnChildrenChanged(RadElement, ItemsChangeOperation)RadElement.GetChildren(ChildrenListOptions)RadElement.SendToBack()RadElement.BringToFront()RadElement.IsChildOf(RadElement)RadElement.Focus()RadElement.Focus(bool)RadElement.SetFocusPropertySafe(bool)RadElement.KillFocus()RadElement.OnCLREventsRise(RoutedEventArgs)RadElement.OnMouseMove(MouseEventArgs)RadElement.OnMouseHover(EventArgs)RadElement.OnEnabledChanged(RadPropertyChangedEventArgs)RadElement.OnParentEnabledChanged(RadPropertyChangedEventArgs)RadElement.OnLostMouseCapture(MouseEventArgs)RadElement.OnMouseEnter(EventArgs)RadElement.OnMouseLeave(EventArgs)RadElement.PerformClick()RadElement.OnMouseWheel(MouseEventArgs)RadElement.IsInputKey(InputKeyEventArgs)RadElement.MouseEventArgsFromControl(MouseEventArgs)RadElement.DoMouseDown(MouseEventArgs)RadElement.DoMouseUp(MouseEventArgs)RadElement.ShowScreenTip(ScreenTipNeededEventArgs)RadElement.HideScreenTip()RadElement.DoMouseHover(EventArgs)RadElement.OnShowScreenTip(ComponentInputBehavior)RadElement.RaiseClick(EventArgs)RadElement.RaiseDoubleClick(EventArgs)RadElement.RaiseMouseWheel(MouseEventArgs)RadElement.UpdateContainsFocus(bool)RadElement.DoMouseEnter(EventArgs)RadElement.DoMouseLeave(EventArgs)RadElement.GetValue(RadProperty)RadElement.AddStylePropertySetting(IPropertySetting)RadElement.SetValueCore(RadPropertyValue, object, object, ValueSource)RadElement.NotifyChildren(RadPropertyChangedEventArgs)RadElement.OnLocationChanged(RadPropertyChangedEventArgs)RadElement.OnDisplayPropertyChanged(RadPropertyChangedEventArgs)RadElement.CanRaisePropertyChangeNotifications(RadPropertyValue)RadElement.IsPropertyCancelable(RadPropertyMetadata)RadElement.OnParentPropertyChanged(RadPropertyChangedEventArgs)RadElement.ReplaceDefaultDescriptors(PropertyDescriptorCollection)RadElement.ToString()RadElement.DisposeManagedResources()RadElement.PerformDispose(bool)RadElement.DisposeChildren()RadElement.GetStylableChildrenHierarchy()RadElement.GetStylableChildren()RadElement.GetBorderThickness(BorderPrimitive)RadElement.DpiScaleChanged(SizeF)RadElement.ElementStateRadElement.DesiredSizeRadElement.IsLayoutSuspendedRadElement.BoundingRectangleRadElement.ControlBoundingRectangleRadElement.BypassLayoutPoliciesRadElement.IsArrangeValidRadElement.IsMeasureValidRadElement.TreeLevelRadElement.TransformRadElement.TotalTransformRadElement.ShouldPaintUsingParentShapeRadElement.UseSystemSkinRadElement.CanHaveOwnStyleRadElement.PropagateStyleToChildrenRadElement.ThemeEffectiveTypeRadElement.ElementTreeRadElement.ChildrenRadElement.ChildrenHierarchyRadElement.ParentRadElement.RoutedEventBehaviorsRadElement.LayoutableChildrenCountRadElement.ContainsFocusRadElement.ShouldHandleMouseInputRadElement.NotifyParentOnMouseInputRadElement.IsAbleToRespondToMouseEventsRadElement.AutoSizeRadElement.LocationRadElement.SizeRadElement.BorderThicknessRadElement.PaddingRadElement.MarginRadElement.AutoSizeModeRadElement.FitToSizeModeRadElement.EnabledRadElement.CanFocusRadElement.IsFocusedRadElement.IsMouseOverRadElement.IsMouseOverElementRadElement.IsMouseDownRadElement.InvalidateChildrenOnChildChangedRadElement.ShouldPaintRadElement.VisibilityRadElement.IsElementVisibleRadElement.NameRadElement.ClassRadElement.ClipDrawingRadElement.MinSizeRadElement.MaxSizeRadElement.UseCompatibleTextRenderingRadElement.BackgroundShapeRadElement.BackgroundShapePaintModeRadElement.ContainsMouseRadElement.CaptureRadElement.ScaleTransformRadElement.PositionOffsetRadElement.SerializePropertiesRadElement.SerializeElementRadElement.SerializeChildrenRadElement.RenderingMaxFramerateRadElement.IsThemeAppliedRadElement.ShouldApplyThemeRadElement.UseCenteredAngleTransformRadElement.TagRadElement.ClickModeRadElement.DoubleClickEnabledRadElement.CaptureOnMouseDownRadElement.IsItemHoveredRadElement.StyleRadElement.ToolTipTextRadElement.AutoToolTipRadElement.ScreenTipRadElement.AutoNumberKeyTipRadElement.DpiScaleFactorRadElement.LayoutUpdatedRadElement.MouseHoverRadElement.MouseMoveRadElement.MouseDownRadElement.MouseUpRadElement.ClickRadElement.DoubleClickRadElement.MouseEnterRadElement.MouseWheelRadElement.EnabledChangedRadElement.MouseLeaveRadElement.ChildrenChangedRadElement.LostMouseCaptureRadObject.BindingContextPropertyRadObject.RadTypeRadObject.ClearPropertyStore()RadObject.SuspendPropertyNotifications()RadObject.ResumePropertyNotifications()RadObject.GetPropertyValue(RadProperty)RadObject.SetDefaultValueOverride(RadProperty, object)RadObject.SetValue(RadProperty, object)RadObject.ResetValue(RadProperty)RadObject.ResetLocalValue(RadProperty)RadObject.ResetValue(RadProperty, ValueResetFlags)RadObject.UpdateValue(RadProperty)RadObject.GetValueSource(RadProperty)RadObject.GetRegisteredRadProperty(string)RadObject.UpdateValueCore(RadPropertyValue)RadObject.ResetValueCore(RadPropertyValue, ValueResetFlags)RadObject.GetDefaultValue(RadPropertyValue, object)RadObject.CoerceValue(RadPropertyValue, object)RadObject.ShouldSerializeProperty(RadProperty)RadObject.BindProperty(RadProperty, RadObject, RadProperty, PropertyBindingOptions)RadObject.UnbindProperty(RadProperty)RadObject.GetInheritedValue(RadProperty)RadObject.OnNotifyPropertyChanged(string)RadObject.OnNotifyPropertyChanged(PropertyChangedEventArgs)RadObject.OnShouldSerializeProperty(ShouldSerializePropertyEventArgs)RadObject.PropertyValuesRadObject.PropertyFilterRadObject.RadObjectTypeRadObject.BindingContextRadObject.RadPropertyChangedRadObject.RadPropertyChangingDisposableObject.GetBitState(long)DisposableObject.SetBitState(long, bool)DisposableObject.OnBitStateChanged(long, bool, bool)DisposableObject.Dispose()DisposableObject.Dispose(bool)DisposableObject.DisposeUnmanagedResources()DisposableObject.BitStateDisposableObject.EventsDisposableObject.IsDisposingDisposableObject.IsDisposedDisposableObject.DisposedDisposableObject.Disposing...

Constructors

Initializes a new instance of the RadDiagramConnection class.

C#
public RadDiagramConnection()

Fields

Identifies the BezierTensionProperty dependency property.

C#
public static readonly RadProperty BezierTensionProperty

Identifies the ConnectionType dependency property.

C#
public static readonly RadProperty ConnectionTypeProperty

Identifies the ConnectorCenterPoint.

C#
public static readonly RadProperty ConnectorCenterPointProperty

Identifies the EndPoint dependency property.

C#
public static readonly RadProperty EndPointProperty

Identifies the IsAutoUpdateSuppressedProperty.

C#
public static readonly RadProperty IsAutoUpdateSuppressedProperty

Identifies the RouteProperty property.

C#
public static readonly RadProperty RouteProperty

Identifies the SourceCapSize dependency property.

C#
public static readonly RadProperty SourceCapSizeProperty

Identifies the SourceCapType dependency property.

C#
public static readonly RadProperty SourceCapTypeProperty

Identifies the SourceConnectorPosition dependency property.

C#
public static readonly RadProperty SourceConnectorPositionProperty

Identifies the Source dependency property.

C#
public static readonly RadProperty SourceProperty

Identifies the StartPoint dependency property.

C#
public static readonly RadProperty StartPointProperty

Identifies the TargetCapSize dependency property.

C#
public static readonly RadProperty TargetCapSizeProperty

Identifies the TargetCapType dependency property.

C#
public static readonly RadProperty TargetCapTypeProperty

Identifies the TargetConnectorPosition dependency property.

C#
public static readonly RadProperty TargetConnectorPositionProperty

Identifies the TargetProperty dependency property.

C#
public static readonly RadProperty TargetProperty

Identifies the UseFreeConnectors property.

C#
public static readonly RadProperty UseFreeConnectorsProperty

Properties

The connection adorner which helps manipulating this connection.

C#
public ConnectionManipulationAdorner Adorner { get; set; }

Gets or sets the Bezier tension.

C#
public double BezierTension { get; set; }
Property Value:

A value or zero turns the Bezier connection into a straight line, a value of one and above increase the sharpness of the Bezier curve.

Implements: IConnection.BezierTension

Gets the bounds.

C#
public override Rect Bounds { get; }
Property Value:

The bounds.

Overrides: RadDiagramItem.Bounds

Implements: IDiagramItem.Bounds

C#
public Rect BoundsWithoutTransform { get; }

Gets the connection points of the connection.

C#
[Browsable(false)]
public IList<Point> ConnectionPoints { get; }

Implements: IConnection.ConnectionPoints

Remarks:

The positions are absolute coordinates with respect to the canvas.

Gets or sets the type of the connection.

C#
public ConnectionType ConnectionType { get; set; }
Property Value:

The type of the connection.

Implements: IConnection.ConnectionType

Gets or sets the position of where this connection ends.

C#
public Point EndPoint { get; set; }

Implements: IConnection.EndPoint

Gets or sets the foreground color of the element.

C#
public override Color ForeColor { get; set; }
Property Value:

A Color that represents the foreground color used for text and borders. The default value is determined by the current theme.

Overrides: VisualElement.ForeColor

Remarks:

This property is inheritable through the element tree, allowing child elements to inherit the foreground color from their parents unless explicitly overridden. The foreground color affects text rendering and border appearance.

Gets the geometry of the connection.

C#
public Geometry Geometry { get; }

Implements: IConnection.Geometry

Gets or sets a value indicating whether the connection has been modified.

C#
public bool IsModified { get; set; }

Implements: IConnection.IsModified

Remarks:
  • This property is set to true as soon as you add/remove intermediate points or manually move one of the Bezier handles. This means that the automatically calculated handle positions in function of the connector will be halted. You re-enable this auto-handle calculation by re-setting this property to false.
  • If this property is true the connection won't be routed and no automatic reflexive points will be added. You can re-enable this by re-setting this property to false.

Gets the manipulation points, which are equal to the adorner's connection editing points.

C#
[Browsable(false)]
public IList<IConnectionEditPoint> ManipulationPoints { get; }

Implements: IConnection.ManipulationPoints

Gets or sets whether this connection will be automatically routed.

C#
public bool Route { get; set; }

Implements: IConnection.Route

Remarks:

Setting this property effects only Spline and Polyline connections.

Gets the number of segments this connection has.

C#
public int SegmentCount { get; }

Gets or sets an instance of the Shape object of an element. The shape of the element is both responsible for clipping the element's children and for providing its' border(s) with custom shape.

C#
[Browsable(false)]
public override ElementShape Shape { get; set; }

Overrides: RadElement.Shape

Remarks:

Value of null (or Nothing in VisualBasic.Net) indicates that element has rectangular (or no) shape. Shape is an object that defines the bounding graphics path of an element. Graphics clip is always applied when an element has shape. Shape is considered when painting the border element, and when hit-testing an element. Some predefined shapes are available, like RoundRectShape or EllipseShape. CustomShape offers a way to specify element's shape with a sequence of points and curves using code or the design time ElementShapeEditor UITypeEditor.

Gets or sets the source.

C#
[Browsable(false)]
public IShape Source { get; set; }
Property Value:

The source.

Implements: IConnection.Source

Gets or sets the size of the source cap.

C#
public SizeF SourceCapSize { get; set; }
Property Value:

The size of the source cap.

Implements: IConnection.SourceCapSize

Gets or sets the type of the source cap.

C#
[Browsable(true)]
public CapType SourceCapType { get; set; }
Property Value:

The type of the source cap.

Implements: IConnection.SourceCapType

Gets or sets the source connector position.

C#
public string SourceConnectorPosition { get; set; }
Property Value:

The source connector position.

Implements: IConnection.SourceConnectorPosition

Gets the source connector result.

C#
public IConnector SourceConnectorResult { get; }

Implements: IConnection.SourceConnectorResult

Gets or sets the position of where this connection starts.

C#
public Point StartPoint { get; set; }

Implements: IConnection.StartPoint

Gets or sets the stroke of this item.

C#
public override Brush Stroke { get; set; }
Property Value:

The stroke.

Overrides: RadDiagramItem.Stroke

Gets or sets the target.

C#
[Browsable(false)]
public IShape Target { get; set; }
Property Value:

The target.

Implements: IConnection.Target

Gets or sets the size of the target cap.

C#
public SizeF TargetCapSize { get; set; }
Property Value:

The size of the target cap.

Implements: IConnection.TargetCapSize

Gets or sets the type of the target cap.

C#
[Browsable(true)]
public CapType TargetCapType { get; set; }
Property Value:

The type of the target cap.

Implements: IConnection.TargetCapType

Gets or sets the target connector position.

C#
public string TargetConnectorPosition { get; set; }
Property Value:

The target connector position.

Implements: IConnection.TargetConnectorPosition

Gets the target connector result.

C#
public IConnector TargetConnectorResult { get; }

Implements: IConnection.TargetConnectorResult

Gets or sets whether this connection will choose free connectors when attaching to shape with Source or TargetConnectorPosition Auto.

C#
public bool UseFreeConnectors { get; set; }

Implements: IConnection.UseFreeConnectors

Methods

Adds an intermediate connection point.

C#
public void AddConnectionPoint(Point point)
Parameters:pointPoint

The (absolute canvas) position at which the new connection point should be added.

Implements: IConnection.AddConnectionPoint(Point)

Attaches the connection to specific source and target.

C#
public void Attach(IConnector source = null, IConnector target = null)
Parameters:sourceIConnector

The source.

targetIConnector

The target.

Implements: IConnection.Attach(IConnector, IConnector)

Invoked on connection type changed.

C#
protected virtual void ConnectionTypeChanged(ConnectionType newValue, ConnectionType oldValue)
Parameters:newValueConnectionType

The new value.

oldValueConnectionType

The old value.

Called by the element when constructed. Allows inheritors to build the element tree.

C#
protected override void CreateChildElements()

Overrides: UIElement.CreateChildElements()

Creates the connection's geometry.

C#
protected virtual Geometry CreateGeometry(BridgeType bridgeType, bool roundedCorners)
Parameters:bridgeTypeBridgeTyperoundedCornersboolReturns:

Geometry

Creates the source cap geometry.

C#
protected virtual PathFigure CreateSourceCapGeometry(Point startPoint, Point endPoint, ref Point baseLineStart)
Parameters:startPointPoint

The start point.

endPointPoint

The end point.

baseLineStartPoint

The new start of the base line.

Returns:

PathFigure

Creates the target cap geometry.

C#
protected virtual PathFigure CreateTargetCapGeometry(Point startPoint, Point endPoint, ref Point baseLineEnd)
Parameters:startPointPoint

The start point.

endPointPoint

The end point.

baseLineEndPoint

The new end of the base line.

Returns:

PathFigure

Deserializes the serialization info in this diagram entity.

C#
public override void Deserialize(SerializationInfo info)
Parameters:infoSerializationInfo

A SerializationInfo instance.

Overrides: RadDiagramItem.Deserialize(SerializationInfo)

Implements: ISerializable.Deserialize(SerializationInfo)

Returns all connections below or above the current connection that intersect with the given bounds.

C#
public IList<IConnection> FetchZConnections(bool below, Rect? bounds = null)
Parameters:belowbool

If set to true the connections below current one will be returned, otherwise the ones above.

boundsRect?

The bounds. If null the connection's Bounds are used.

Returns:

IList<IConnection>

Sets the ConnectorCenterPoint.

C#
public static Point GetConnectorCenterPoint(RadObject obj)
Parameters:objRadObjectReturns:

Point

Returns the information related to the crossing of this connection with other connections.

C#
public CrossingsData GetCrossings()
Returns:

CrossingsData

Implements: IConnection.GetCrossings()

Remarks:
  • The positions in the returned data are local coordinates with respect to the bounding rectangle of this connection.
  • The returned data contains a collection of points for each segment. This collection starts with the startpoint of the segment and ends with the endpoint of the segment. If there is a gap or crossing then for each gap a pair of points will denote the begin/end of the gap. So, each segment collection has always at least two points.

Gets the IsUpdateNeeded.

C#
public static bool GetIsAutoUpdateSuppressed(RadObject obj)
Parameters:objRadObjectReturns:

bool

Performs hit testing on the element to determine if the specified point lies within its bounds.

C#
public override bool HitTest(Point point)
Parameters:pointPoint

The point to test in control coordinates.

Returns:

bool

True if the point is within the element bounds, false otherwise.

Overrides: UIElement.HitTest(Point)

Inserts the connection point after the specific index.

C#
public void InsertConnectionPoint(Point point, int after)
Parameters:pointPoint

The point to add.

afterint

The index after which it will be positioned.

Implements: IConnection.InsertConnectionPoint(Point, int)

Remarks:

The zero-position corresponds to the source points, the first position is the first intermediate point and the last index is the target point.

Measures the space required by the RadElement

Used by the layout system.

C#
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters:availableSizeSizeF

The size that is available to the RadElement. The available size can be infinity (to take the full size of the element)

Returns:

SizeF

The minimum size required by the element to be completely visible. Cannot be infinity.

Overrides: FrameworkElement.MeasureOverride(SizeF)

Remarks:

In this method call to the Measure method of each child must be made.

When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call . In simplest terms, this means the method is called just before a UI element displays in an application. For more information, see Remarks.

C#
public override void OnApplyTemplate()

Overrides: RadDiagramItem.OnApplyTemplate()

Called on end point changed.

C#
protected virtual void OnEndPointChanged(Point newValue, Point oldValue)
Parameters:newValuePoint

The new value.

oldValuePoint

The old value.

Called when connectors manipulation changes.

C#
protected override void OnIsConnectorsManipulationEnabledChanged(bool newValue, bool oldValue)
Parameters:newValuebool

The new value.

oldValuebool

The old value.

Overrides: RadDiagramItem.OnIsConnectorsManipulationEnabledChanged(bool, bool)

Called when IsInEditMode changes.

C#
protected override void OnIsInEditModeChanged(bool oldIsInEditMode, bool isInEditMode)
Parameters:oldIsInEditModebool

The old value of the property.

isInEditModebool

The current value of the property.

Overrides: RadDiagramItem.OnIsInEditModeChanged(bool, bool)

Called when the IsSelected property has changed.

C#
protected override void OnIsSelectedChanged(bool oldValue, bool newValue)
Parameters:oldValuebool

The old value of the IsSelected property.

newValuebool

The new value of the IsSelected property.

Overrides: RadDiagramItem.OnIsSelectedChanged(bool, bool)

Called when the element has been successfully loaded. That includes loading of all its children as well.

C#
protected override void OnLoaded()

Overrides: RadElement.OnLoaded()

Called when [position coerced].

C#
protected override object OnPositionCoerced(Point position)
Parameters:positionPoint

The new position.

Returns:

object

Overrides: RadDiagramItem.OnPositionCoerced(Point)

Called when a property value has changed, allowing for custom response to property changes.

C#
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters:eRadPropertyChangedEventArgs

The property changed event arguments.

Overrides: UIElement.OnPropertyChanged(RadPropertyChangedEventArgs)

Called when route changed property change.

C#
protected virtual void OnRouteChanged(bool newValue, bool oldValue)
Parameters:newValuebool

The new value.

oldValuebool

The old value.

Called when the source of the RadDiagramConnection is changed.

C#
protected virtual void OnSourceChanged()

Called when on source connector position changed.

C#
protected virtual void OnSourceConnectorPositionChanged(string newPosition, string oldPosition)
Parameters:newPositionstring

The new position.

oldPositionstring

The old position.

Called on start point changed.

C#
protected virtual void OnStartPointChanged(Point newValue, Point oldValue)
Parameters:newValuePoint

The new value.

oldValuePoint

The old value.

Invoked when the StrokeThickness property has changed.

C#
protected override void OnStrokeThicknessChanged()

Overrides: RadDiagramItem.OnStrokeThicknessChanged()

Called when the target of the RadDiagramConnection is changed.

C#
protected virtual void OnTargetChanged()

Called when on target connector position changed.

C#
protected virtual void OnTargetConnectorPositionChanged(string newPosition, string oldPosition)
Parameters:newPositionstring

The new position.

oldPositionstring

The old position.

Called when the ZIndex changes.

C#
protected override void OnZIndexChanged(int newValue, int oldValue)
Parameters:newValueint

The new value.

oldValueint

The old value.

Overrides: RadDiagramItem.OnZIndexChanged(int, int)

Paints the element's background and calls the base implementation to paint child elements.

C#
protected override void PaintElement(IGraphics graphics, float angle, SizeF scale)
Parameters:graphicsIGraphics

The graphics object used for painting.

anglefloat

The rotation angle to apply during painting.

scaleSizeF

The scale factor to apply during painting.

Overrides: FrameworkElement.PaintElement(IGraphics, float, SizeF)

When overridden, positions the editing element for the RadDiagramConnection.

C#
protected virtual void PositionEditElementOverride()

Refreshes the is selected in group property.

C#
protected override void RefreshIsSelectedInGroup()

Overrides: RadDiagramItem.RefreshIsSelectedInGroup()

Serializes this instance.

C#
public override SerializationInfo Serialize()
Returns:

SerializationInfo

Overrides: RadDiagramItem.Serialize()

Implements: ISerializable.Serialize()

Sets the Bezier handle positions. The coordinates are absolute coordinates with respect to the diagramming surface.

C#
public void SetBezierHandles(Point startHandle, Point endHandle)
Parameters:startHandlePoint

The start handle position.

endHandlePoint

The end handle position.

Exceptions:

Exception

The connection is not a Bezier connection and has no handles.

Sets the ConnectorCenterPoint.

C#
public static void SetConnectorCenterPoint(RadObject obj, Point value)
Parameters:objRadObjectvaluePoint

Sets the IsUpdateNeeded.

C#
public static void SetIsAutoUpdateSuppressed(RadObject obj, bool value)
Parameters:objRadObjectvaluebool

Updates this instance.

C#
protected virtual void Update(bool isManipulating = false)
Parameters:isManipulatingbool

Updates the deferred geometry.

C#
protected virtual void UpdateDeferredGeometry(Point start, Point end, Point[] points)
Parameters:startPoint

The start point of the connection.

endPoint

The end point of the connection.

pointsPoint[]

The intermediate connection points.

When overridden, provides the geometry for the connection.

C#
protected virtual void UpdateGeometryOverride()
Remarks:

This is called whenever the connection is redrawn.

Events

Occurs when a manipulation point of the RadDiagramConnection is activated.

C#
public event EventHandler<ManipulationPointActivatedEventArgs<IConnectionEditPoint>> ManipulationPointActivated

Implements: IConnection.ManipulationPointActivated

In this article
DefinitionConstructorsRadDiagramConnection()FieldsBezierTensionPropertyConnectionTypePropertyConnectorCenterPointPropertyEndPointPropertyIsAutoUpdateSuppressedPropertyRoutePropertySourceCapSizePropertySourceCapTypePropertySourceConnectorPositionPropertySourcePropertyStartPointPropertyTargetCapSizePropertyTargetCapTypePropertyTargetConnectorPositionPropertyTargetPropertyUseFreeConnectorsPropertyPropertiesAdornerBezierTensionBoundsBoundsWithoutTransformConnectionPointsConnectionTypeEndPointForeColorGeometryIsModifiedManipulationPointsRouteSegmentCountShapeSourceSourceCapSizeSourceCapTypeSourceConnectorPositionSourceConnectorResultStartPointStrokeTargetTargetCapSizeTargetCapTypeTargetConnectorPositionTargetConnectorResultUseFreeConnectorsMethodsAddConnectionPoint(Point)Attach(IConnector, IConnector)ConnectionTypeChanged(ConnectionType, ConnectionType)CreateChildElements()CreateGeometry(BridgeType, bool)CreateSourceCapGeometry(Point, Point, ref Point)CreateTargetCapGeometry(Point, Point, ref Point)Deserialize(SerializationInfo)FetchZConnections(bool, Rect?)GetConnectorCenterPoint(RadObject)GetCrossings()GetIsAutoUpdateSuppressed(RadObject)HitTest(Point)InsertConnectionPoint(Point, int)MeasureOverride(SizeF)OnApplyTemplate()OnEndPointChanged(Point, Point)OnIsConnectorsManipulationEnabledChanged(bool, bool)OnIsInEditModeChanged(bool, bool)OnIsSelectedChanged(bool, bool)OnLoaded()OnPositionCoerced(Point)OnPropertyChanged(RadPropertyChangedEventArgs)OnRouteChanged(bool, bool)OnSourceChanged()OnSourceConnectorPositionChanged(string, string)OnStartPointChanged(Point, Point)OnStrokeThicknessChanged()OnTargetChanged()OnTargetConnectorPositionChanged(string, string)OnZIndexChanged(int, int)PaintElement(IGraphics, float, SizeF)PositionEditElementOverride()RefreshIsSelectedInGroup()Serialize()SetBezierHandles(Point, Point)SetConnectorCenterPoint(RadObject, Point)SetIsAutoUpdateSuppressed(RadObject, bool)Update(bool)UpdateDeferredGeometry(Point, Point, Point[])UpdateGeometryOverride()EventsManipulationPointActivated
Not finding the help you need?
Contact Support