RadDiagramConnector
Represents a connector point.
Definition
Namespace:Telerik.WinControls.UI.Diagrams
Assembly:Telerik.WinControls.RadDiagram.dll
Syntax:
public class RadDiagramConnector : FrameworkElement, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IStylableNode, ISupportDrop, IConnector, ISupportMouseOver, ICloneable, ISerializable
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementUIElementFrameworkElementRadDiagramConnector...
Implements:
Inherited Members
Constructors
RadDiagramConnector
public RadDiagramConnector()
Fields
Identifies the ConnectorActivated routed event.
public static RoutedEvent ActivationChangedEvent
The Offset dependency property.
public static readonly RadProperty OffsetProperty
Properties
Gets or sets the offset of the top-left corner of the shape. A value of zero corresponds to the upper-left corner, while a value of one corresponds to the right side of the shape.
Values outside the [0,1] range will position the connector outside the shape.
public Point Offset { get; set; }
The connector's offset.
Implements:
Methods
Calculate the relative position of this connector.
CreateChildElements
protected override void CreateChildElements()
Overrides:
Deserializes the specified info.
public virtual void Deserialize(SerializationInfo info)
The info.
Implements:
MouseEventArgs
Raises the element's mouse-enter event.
protected override void OnMouseEnter(EventArgs e)
The mouse-enter event data.
Overrides:
Raises the element's mouse-leave event.
protected override void OnMouseLeave(EventArgs e)
The mouse-leave event data.
Overrides:
Serializes this instance.
Events
Occurs after the connector routes its activation change to the containing diagram. The diagram may suppress its own activation notification while switching active connectors.
public event EventHandler ActivationChanged
Occurs when [offset changed].
public event EventHandler<OffsetEventArgs> OffsetChanged