Class
RadDiagramConnection

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:

cs-api-definition
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

RadDiagramConnection()

Initializes a new instance of the RadDiagramConnection class.

Declaration

cs-api-definition
public RadDiagramConnection()

Fields

BezierTensionProperty

Identifies the BezierTensionProperty dependency property.

Declaration

cs-api-definition
public static readonly RadProperty BezierTensionProperty

Field Value

RadProperty

ConnectionTypeProperty

Identifies the ConnectionType dependency property.

Declaration

cs-api-definition
public static readonly RadProperty ConnectionTypeProperty

Field Value

RadProperty

ConnectorCenterPointProperty

Identifies the ConnectorCenterPoint.

Declaration

cs-api-definition
public static readonly RadProperty ConnectorCenterPointProperty

Field Value

RadProperty

EndPointProperty

Identifies the EndPoint dependency property.

Declaration

cs-api-definition
public static readonly RadProperty EndPointProperty

Field Value

RadProperty

IsAutoUpdateSuppressedProperty

Identifies the IsAutoUpdateSuppressedProperty.

Declaration

cs-api-definition
public static readonly RadProperty IsAutoUpdateSuppressedProperty

Field Value

RadProperty

RouteProperty

Identifies the RouteProperty property.

Declaration

cs-api-definition
public static readonly RadProperty RouteProperty

Field Value

RadProperty

SourceCapSizeProperty

Identifies the SourceCapSize dependency property.

Declaration

cs-api-definition
public static readonly RadProperty SourceCapSizeProperty

Field Value

RadProperty

SourceCapTypeProperty

Identifies the SourceCapType dependency property.

Declaration

cs-api-definition
public static readonly RadProperty SourceCapTypeProperty

Field Value

RadProperty

SourceConnectorPositionProperty

Identifies the SourceConnectorPosition dependency property.

Declaration

cs-api-definition
public static readonly RadProperty SourceConnectorPositionProperty

Field Value

RadProperty

SourceProperty

Identifies the Source dependency property.

Declaration

cs-api-definition
public static readonly RadProperty SourceProperty

Field Value

RadProperty

StartPointProperty

Identifies the StartPoint dependency property.

Declaration

cs-api-definition
public static readonly RadProperty StartPointProperty

Field Value

RadProperty

TargetCapSizeProperty

Identifies the TargetCapSize dependency property.

Declaration

cs-api-definition
public static readonly RadProperty TargetCapSizeProperty

Field Value

RadProperty

TargetCapTypeProperty

Identifies the TargetCapType dependency property.

Declaration

cs-api-definition
public static readonly RadProperty TargetCapTypeProperty

Field Value

RadProperty

TargetConnectorPositionProperty

Identifies the TargetConnectorPosition dependency property.

Declaration

cs-api-definition
public static readonly RadProperty TargetConnectorPositionProperty

Field Value

RadProperty

TargetProperty

Identifies the TargetProperty dependency property.

Declaration

cs-api-definition
public static readonly RadProperty TargetProperty

Field Value

RadProperty

UseFreeConnectorsProperty

Identifies the UseFreeConnectors property.

Declaration

cs-api-definition
public static readonly RadProperty UseFreeConnectorsProperty

Field Value

RadProperty

Properties

Adorner

The connection adorner which helps manipulating this connection.

Declaration

cs-api-definition
public ConnectionManipulationAdorner Adorner { get; set; }

Property Value

ConnectionManipulationAdorner

BezierTension

Gets or sets the Bezier tension.

Declaration

cs-api-definition
public double BezierTension { get; set; }

Property Value

double

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

Bounds

Gets the bounds.

Declaration

cs-api-definition
public override Rect Bounds { get; }

Property Value

Rect

The bounds.

Overrides RadDiagramItem.Bounds

Implements IDiagramItem.Bounds

BoundsWithoutTransform

Declaration

cs-api-definition
public Rect BoundsWithoutTransform { get; }

Property Value

Rect

ConnectionPoints

Gets the connection points of the connection.

Declaration

cs-api-definition
[Browsable(false)]
public IList<Point> ConnectionPoints { get; }

Property Value

IList<Point>

Implements IConnection.ConnectionPoints

Remarks

The positions are absolute coordinates with respect to the canvas.

ConnectionType

Gets or sets the type of the connection.

Declaration

cs-api-definition
public ConnectionType ConnectionType { get; set; }

Property Value

ConnectionType

The type of the connection.

Implements IConnection.ConnectionType

EndPoint

Gets or sets the position of where this connection ends.

Declaration

cs-api-definition
public Point EndPoint { get; set; }

Property Value

Point

Implements IConnection.EndPoint

ForeColor

Gets or sets the foreground color of the element.

Declaration

cs-api-definition
public override Color ForeColor { get; set; }

Property Value

Color

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.

Geometry

Gets the geometry of the connection.

Declaration

cs-api-definition
public Geometry Geometry { get; }

Property Value

Geometry

Implements IConnection.Geometry

IsModified

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

Declaration

cs-api-definition
public bool IsModified { get; set; }

Property Value

bool

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.

ManipulationPoints

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

Declaration

cs-api-definition
[Browsable(false)]
public IList<IConnectionEditPoint> ManipulationPoints { get; }

Property Value

IList<IConnectionEditPoint>

Implements IConnection.ManipulationPoints

Route

Gets or sets whether this connection will be automatically routed.

Declaration

cs-api-definition
public bool Route { get; set; }

Property Value

bool

Implements IConnection.Route

Remarks

Setting this property effects only Spline and Polyline connections.

SegmentCount

Gets the number of segments this connection has.

Declaration

cs-api-definition
public int SegmentCount { get; }

Property Value

int

Shape

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.

Declaration

cs-api-definition
[Browsable(false)]
public override ElementShape Shape { get; set; }

Property Value

ElementShape

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.

Source

Gets or sets the source.

Declaration

cs-api-definition
[Browsable(false)]
public IShape Source { get; set; }

Property Value

IShape

The source.

Implements IConnection.Source

SourceCapSize

Gets or sets the size of the source cap.

Declaration

cs-api-definition
public SizeF SourceCapSize { get; set; }

Property Value

SizeF

The size of the source cap.

Implements IConnection.SourceCapSize

SourceCapType

Gets or sets the type of the source cap.

Declaration

cs-api-definition
[Browsable(true)]
public CapType SourceCapType { get; set; }

Property Value

CapType

The type of the source cap.

Implements IConnection.SourceCapType

SourceConnectorPosition

Gets or sets the source connector position.

Declaration

cs-api-definition
public string SourceConnectorPosition { get; set; }

Property Value

string

The source connector position.

Implements IConnection.SourceConnectorPosition

SourceConnectorResult

Gets the source connector result.

Declaration

cs-api-definition
public IConnector SourceConnectorResult { get; }

Property Value

IConnector

Implements IConnection.SourceConnectorResult

StartPoint

Gets or sets the position of where this connection starts.

Declaration

cs-api-definition
public Point StartPoint { get; set; }

Property Value

Point

Implements IConnection.StartPoint

Stroke

Gets or sets the stroke of this item.

Declaration

cs-api-definition
public override Brush Stroke { get; set; }

Property Value

Brush

The stroke.

Overrides RadDiagramItem.Stroke

Target

Gets or sets the target.

Declaration

cs-api-definition
[Browsable(false)]
public IShape Target { get; set; }

Property Value

IShape

The target.

Implements IConnection.Target

TargetCapSize

Gets or sets the size of the target cap.

Declaration

cs-api-definition
public SizeF TargetCapSize { get; set; }

Property Value

SizeF

The size of the target cap.

Implements IConnection.TargetCapSize

TargetCapType

Gets or sets the type of the target cap.

Declaration

cs-api-definition
[Browsable(true)]
public CapType TargetCapType { get; set; }

Property Value

CapType

The type of the target cap.

Implements IConnection.TargetCapType

TargetConnectorPosition

Gets or sets the target connector position.

Declaration

cs-api-definition
public string TargetConnectorPosition { get; set; }

Property Value

string

The target connector position.

Implements IConnection.TargetConnectorPosition

TargetConnectorResult

Gets the target connector result.

Declaration

cs-api-definition
public IConnector TargetConnectorResult { get; }

Property Value

IConnector

Implements IConnection.TargetConnectorResult

UseFreeConnectors

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

Declaration

cs-api-definition
public bool UseFreeConnectors { get; set; }

Property Value

bool

Implements IConnection.UseFreeConnectors

Methods

AddConnectionPoint(Point)

Adds an intermediate connection point.

Declaration

cs-api-definition
public void AddConnectionPoint(Point point)

Parameters

point

Point

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

Implements IConnection.AddConnectionPoint(Point)

Attach(IConnector, IConnector)

Attaches the connection to specific source and target.

Declaration

cs-api-definition
public void Attach(IConnector source = null, IConnector target = null)

Parameters

source

IConnector

The source.

target

IConnector

The target.

Implements IConnection.Attach(IConnector, IConnector)

ConnectionTypeChanged(ConnectionType, ConnectionType)

Invoked on connection type changed.

Declaration

cs-api-definition
protected virtual void ConnectionTypeChanged(ConnectionType newValue, ConnectionType oldValue)

Parameters

newValue

ConnectionType

The new value.

oldValue

ConnectionType

The old value.

CreateChildElements()

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

Declaration

cs-api-definition
protected override void CreateChildElements()

Overrides UIElement.CreateChildElements()

CreateGeometry(BridgeType, bool)

Creates the connection's geometry.

Declaration

cs-api-definition
protected virtual Geometry CreateGeometry(BridgeType bridgeType, bool roundedCorners)

Parameters

bridgeType

BridgeType

roundedCorners

bool

Returns

Geometry

CreateSourceCapGeometry(Point, Point, ref Point)

Creates the source cap geometry.

Declaration

cs-api-definition
protected virtual PathFigure CreateSourceCapGeometry(Point startPoint, Point endPoint, ref Point baseLineStart)

Parameters

startPoint

Point

The start point.

endPoint

Point

The end point.

baseLineStart

Point

The new start of the base line.

Returns

PathFigure

CreateTargetCapGeometry(Point, Point, ref Point)

Creates the target cap geometry.

Declaration

cs-api-definition
protected virtual PathFigure CreateTargetCapGeometry(Point startPoint, Point endPoint, ref Point baseLineEnd)

Parameters

startPoint

Point

The start point.

endPoint

Point

The end point.

baseLineEnd

Point

The new end of the base line.

Returns

PathFigure

Deserialize(SerializationInfo)

Deserializes the serialization info in this diagram entity.

Declaration

cs-api-definition
public override void Deserialize(SerializationInfo info)

Parameters

info

SerializationInfo

A SerializationInfo instance.

Overrides RadDiagramItem.Deserialize(SerializationInfo)

Implements ISerializable.Deserialize(SerializationInfo)

FetchZConnections(bool, Rect?)

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

Declaration

cs-api-definition
public IList<IConnection> FetchZConnections(bool below, Rect? bounds = null)

Parameters

below

bool

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

bounds

Rect?

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

Returns

IList<IConnection>

GetConnectorCenterPoint(RadObject)

Sets the ConnectorCenterPoint.

Declaration

cs-api-definition
public static Point GetConnectorCenterPoint(RadObject obj)

Parameters

obj

RadObject

Returns

Point

GetCrossings()

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

Declaration

cs-api-definition
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.

GetIsAutoUpdateSuppressed(RadObject)

Gets the IsUpdateNeeded.

Declaration

cs-api-definition
public static bool GetIsAutoUpdateSuppressed(RadObject obj)

Parameters

obj

RadObject

Returns

bool

HitTest(Point)

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

Declaration

cs-api-definition
public override bool HitTest(Point point)

Parameters

point

Point

The point to test in control coordinates.

Returns

bool

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

Overrides UIElement.HitTest(Point)

InsertConnectionPoint(Point, int)

Inserts the connection point after the specific index.

Declaration

cs-api-definition
public void InsertConnectionPoint(Point point, int after)

Parameters

point

Point

The point to add.

after

int

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.

MeasureOverride(SizeF)

Measures the space required by the RadElement

Used by the layout system.

Declaration

cs-api-definition
protected override SizeF MeasureOverride(SizeF availableSize)

Parameters

availableSize

SizeF

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.

OnApplyTemplate()

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.

Declaration

cs-api-definition
public override void OnApplyTemplate()

Overrides RadDiagramItem.OnApplyTemplate()

OnEndPointChanged(Point, Point)

Called on end point changed.

Declaration

cs-api-definition
protected virtual void OnEndPointChanged(Point newValue, Point oldValue)

Parameters

newValue

Point

The new value.

oldValue

Point

The old value.

OnIsConnectorsManipulationEnabledChanged(bool, bool)

Called when connectors manipulation changes.

Declaration

cs-api-definition
protected override void OnIsConnectorsManipulationEnabledChanged(bool newValue, bool oldValue)

Parameters

newValue

bool

The new value.

oldValue

bool

The old value.

Overrides RadDiagramItem.OnIsConnectorsManipulationEnabledChanged(bool, bool)

OnIsInEditModeChanged(bool, bool)

Called when IsInEditMode changes.

Declaration

cs-api-definition
protected override void OnIsInEditModeChanged(bool oldIsInEditMode, bool isInEditMode)

Parameters

oldIsInEditMode

bool

The old value of the property.

isInEditMode

bool

The current value of the property.

Overrides RadDiagramItem.OnIsInEditModeChanged(bool, bool)

OnIsSelectedChanged(bool, bool)

Called when the IsSelected property has changed.

Declaration

cs-api-definition
protected override void OnIsSelectedChanged(bool oldValue, bool newValue)

Parameters

oldValue

bool

The old value of the IsSelected property.

newValue

bool

The new value of the IsSelected property.

Overrides RadDiagramItem.OnIsSelectedChanged(bool, bool)

OnLoaded()

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

Declaration

cs-api-definition
protected override void OnLoaded()

Overrides RadElement.OnLoaded()

OnPositionCoerced(Point)

Called when [position coerced].

Declaration

cs-api-definition
protected override object OnPositionCoerced(Point position)

Parameters

position

Point

The new position.

Returns

object

Overrides RadDiagramItem.OnPositionCoerced(Point)

OnPropertyChanged(RadPropertyChangedEventArgs)

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

Declaration

cs-api-definition
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)

Parameters

e

RadPropertyChangedEventArgs

The property changed event arguments.

Overrides UIElement.OnPropertyChanged(RadPropertyChangedEventArgs)

OnRouteChanged(bool, bool)

Called when route changed property change.

Declaration

cs-api-definition
protected virtual void OnRouteChanged(bool newValue, bool oldValue)

Parameters

newValue

bool

The new value.

oldValue

bool

The old value.

OnSourceChanged()

Called when the source of the RadDiagramConnection is changed.

Declaration

cs-api-definition
protected virtual void OnSourceChanged()

OnSourceConnectorPositionChanged(string, string)

Called when on source connector position changed.

Declaration

cs-api-definition
protected virtual void OnSourceConnectorPositionChanged(string newPosition, string oldPosition)

Parameters

newPosition

string

The new position.

oldPosition

string

The old position.

OnStartPointChanged(Point, Point)

Called on start point changed.

Declaration

cs-api-definition
protected virtual void OnStartPointChanged(Point newValue, Point oldValue)

Parameters

newValue

Point

The new value.

oldValue

Point

The old value.

OnStrokeThicknessChanged()

Invoked when the StrokeThickness property has changed.

Declaration

cs-api-definition
protected override void OnStrokeThicknessChanged()

Overrides RadDiagramItem.OnStrokeThicknessChanged()

OnTargetChanged()

Called when the target of the RadDiagramConnection is changed.

Declaration

cs-api-definition
protected virtual void OnTargetChanged()

OnTargetConnectorPositionChanged(string, string)

Called when on target connector position changed.

Declaration

cs-api-definition
protected virtual void OnTargetConnectorPositionChanged(string newPosition, string oldPosition)

Parameters

newPosition

string

The new position.

oldPosition

string

The old position.

OnZIndexChanged(int, int)

Called when the ZIndex changes.

Declaration

cs-api-definition
protected override void OnZIndexChanged(int newValue, int oldValue)

Parameters

newValue

int

The new value.

oldValue

int

The old value.

Overrides RadDiagramItem.OnZIndexChanged(int, int)

PaintElement(IGraphics, float, SizeF)

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

Declaration

cs-api-definition
protected override void PaintElement(IGraphics graphics, float angle, SizeF scale)

Parameters

graphics

IGraphics

The graphics object used for painting.

angle

float

The rotation angle to apply during painting.

scale

SizeF

The scale factor to apply during painting.

Overrides FrameworkElement.PaintElement(IGraphics, float, SizeF)

PositionEditElementOverride()

When overridden, positions the editing element for the RadDiagramConnection.

Declaration

cs-api-definition
protected virtual void PositionEditElementOverride()

RefreshIsSelectedInGroup()

Refreshes the is selected in group property.

Declaration

cs-api-definition
protected override void RefreshIsSelectedInGroup()

Overrides RadDiagramItem.RefreshIsSelectedInGroup()

Serialize()

Serializes this instance.

Declaration

cs-api-definition
public override SerializationInfo Serialize()

Returns

SerializationInfo

Overrides RadDiagramItem.Serialize()

Implements ISerializable.Serialize()

SetBezierHandles(Point, Point)

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

Declaration

cs-api-definition
public void SetBezierHandles(Point startHandle, Point endHandle)

Parameters

startHandle

Point

The start handle position.

endHandle

Point

The end handle position.

Exceptions

Exception

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

SetConnectorCenterPoint(RadObject, Point)

Sets the ConnectorCenterPoint.

Declaration

cs-api-definition
public static void SetConnectorCenterPoint(RadObject obj, Point value)

Parameters

obj

RadObject

value

Point

SetIsAutoUpdateSuppressed(RadObject, bool)

Sets the IsUpdateNeeded.

Declaration

cs-api-definition
public static void SetIsAutoUpdateSuppressed(RadObject obj, bool value)

Parameters

obj

RadObject

value

bool

Update(bool)

Updates this instance.

Declaration

cs-api-definition
protected virtual void Update(bool isManipulating = false)

Parameters

isManipulating

bool

UpdateDeferredGeometry(Point, Point, Point[])

Updates the deferred geometry.

Declaration

cs-api-definition
protected virtual void UpdateDeferredGeometry(Point start, Point end, Point[] points)

Parameters

start

Point

The start point of the connection.

end

Point

The end point of the connection.

points

Point[]

The intermediate connection points.

UpdateGeometryOverride()

When overridden, provides the geometry for the connection.

Declaration

cs-api-definition
protected virtual void UpdateGeometryOverride()

Remarks

This is called whenever the connection is redrawn.

Events

ManipulationPointActivated

Occurs when a manipulation point of the RadDiagramConnection is activated.

Declaration

cs-api-definition
public event EventHandler<ManipulationPointActivatedEventArgs<IConnectionEditPoint>> ManipulationPointActivated

Event Value

EventHandler<ManipulationPointActivatedEventArgs<IConnectionEditPoint>>

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