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
Initializes a new instance of the ConnectionEditPointControl class.
protected ConnectionEditPointControl()
Initializes a new instance of the ConnectionEditPointControl class.
public ConnectionEditPointControl(ManipulationPointType type, Point position, RadDiagramConnection connection)
The type.
positionPointThe position.
connectionRadDiagramConnectionThe connection.
Fields
The Position dependency property.
public static readonly RadProperty PositionProperty
The Type dependency property.
public static readonly RadProperty TypeProperty
Properties
Gets the connection adorner in which this editor resides.
public ConnectionManipulationAdorner Adorner { get; }
Gets the underlying connection that's being manipulated by this editor.
public IConnection Connection { get; }
Implements:
Gets or sets a value indicating whether this editor is currently being used (moved).
public virtual bool IsManipulating { get; set; }
True if this instance is manipulating; otherwise, false.
Implements:
Gets or sets the position of this editor.
public Point Position { get; set; }
Implements:
Gets or sets this editor's type.
public ManipulationPointType Type { get; set; }
Implements:
Methods
Called by the element when constructed. Allows inheritors to build the element tree.
protected override void CreateChildElements()
Overrides:
Called when IsManipulating property is changed.
protected virtual void OnIsManipulatingChanged()
Invoked when an unhandled routed event is raised on this element. Implement this method to add class handling for this event.
protected override void OnMouseDown(MouseEventArgs e)
The that contains the event data. The event data reports that the left mouse button was pressed.
Overrides:
Called when position changes.
protected virtual void OnPositionChanged()
Updates the displayed element.
public void UpdateDisplayElement()