ClassRadDiagramConnector
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
Fields
ActivationChangedEvent
Identifies the ConnectorActivated routed event.
Declaration
public static RoutedEvent ActivationChangedEvent
Field Value
OffsetProperty
The Offset dependency property.
Declaration
public static readonly RadProperty OffsetProperty
Field Value
Properties
Offset
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.
Declaration
public Point Offset { get; set; }
Property Value
The connector's offset.
Implements
Methods
CalculateRelativePosition(Size)
Calculate the relative position of this connector.
CreateChildElements()
CreateChildElements
Declaration
protected override void CreateChildElements()
Overrides
Deserialize(SerializationInfo)
Deserializes the specified info.
Declaration
public virtual void Deserialize(SerializationInfo info)
Parameters
info
The info.
Implements
HitTest(Point)
HitTest
OnMouseDown(MouseEventArgs)
MouseEventArgs
Declaration
protected override void OnMouseDown(MouseEventArgs e)
Parameters
e
e
Overrides
OnMouseEnter(EventArgs)
Declaration
protected override void OnMouseEnter(EventArgs e)
Parameters
e
Overrides
OnMouseLeave(EventArgs)
Declaration
protected override void OnMouseLeave(EventArgs e)
Parameters
e
Overrides
OnOffsetChanged(Point, Point)
Called when [offset changed].
PaintElement(IGraphics, float, SizeF)
PaintElement
Serialize()
Serializes this instance.
Declaration
public virtual SerializationInfo Serialize()
Returns
Implements
Events
OffsetChanged
Occurs when [offset changed].
Declaration
public event EventHandler<OffsetEventArgs> OffsetChanged
Event Value