ClassConnectionEditPointControl
Represents a manipulation point of a connection.
Definition
Namespace:Telerik.WinControls.UI.Diagrams.Primitives
Assembly:Telerik.WinControls.RadDiagram.dll
Syntax:
public class ConnectionEditPointControl : FrameworkElement, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IStylableNode, ISupportDrop, IConnectionEditPoint, ISupportMouseOver
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementUIElementFrameworkElementConnectionEditPointControl
Implements:
Inherited Members
Constructors
ConnectionEditPointControl()
Initializes a new instance of the ConnectionEditPointControl class.
Declaration
protected ConnectionEditPointControl()
ConnectionEditPointControl(ManipulationPointType, Point, RadDiagramConnection)
Initializes a new instance of the ConnectionEditPointControl class.
Declaration
public ConnectionEditPointControl(ManipulationPointType type, Point position, RadDiagramConnection connection)
Parameters
type
The type.
position
The position.
connection
The connection.
Fields
PositionProperty
The Position dependency property.
Declaration
public static readonly RadProperty PositionProperty
Field Value
TypeProperty
The Type dependency property.
Declaration
public static readonly RadProperty TypeProperty
Field Value
Properties
Adorner
Gets the connection adorner in which this editor resides.
Declaration
public ConnectionManipulationAdorner Adorner { get; }
Property Value
Connection
Gets the underlying connection that's being manipulated by this editor.
Declaration
public IConnection Connection { get; }
Property Value
Implements
IsConnected
Gets a value indicating whether this editor is connected to a shape.
IsManipulating
Gets or sets a value indicating whether this editor is currently being used (moved).
Declaration
public virtual bool IsManipulating { get; set; }
Property Value
True if this instance is manipulating; otherwise, false.
Implements
Position
Gets or sets the position of this editor.
Type
Gets or sets this editor's type.
Declaration
public ManipulationPointType Type { get; set; }
Property Value
Implements
Methods
CreateChildElements()
Called by the element when constructed. Allows inheritors to build the element tree.
Declaration
protected override void CreateChildElements()
Overrides
HitTest(Point)
Performs hit testing on the element to determine if the specified point lies within its bounds.
OnIsManipulatingChanged()
Called when IsManipulating property is changed.
Declaration
protected virtual void OnIsManipulatingChanged()
OnMouseDown(MouseEventArgs)
Invoked when an unhandled routed event is raised on this element. Implement this method to add class handling for this event.
Declaration
protected override void OnMouseDown(MouseEventArgs e)
Parameters
e
The that contains the event data. The event data reports that the left mouse button was pressed.
Overrides
OnPositionChanged()
Called when position changes.
Declaration
protected virtual void OnPositionChanged()
UpdateDisplayElement()
Updates the displayed element.
Declaration
public void UpdateDisplayElement()