Class ConnectionEditPointControl
Represents a manipulation point of a connection.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI.Diagrams.Primitives
Assembly: Telerik.WinControls.RadDiagram.dll
Syntax
public class ConnectionEditPointControl : FrameworkElement, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IStylableNode, ISupportDrop, IConnectionEditPoint, ISupportMouseOver
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
ManipulationPointType
type
The type. |
Point
position
The position. |
RadDiagramConnection
connection
The connection. |
Fields
PositionProperty
The Position dependency property.
Declaration
public static readonly RadProperty PositionProperty
Field Value
RadProperty
|
TypeProperty
The Type dependency property.
Declaration
public static readonly RadProperty TypeProperty
Field Value
RadProperty
|
Properties
Adorner
Gets the connection adorner in which this editor resides.
Declaration
public ConnectionManipulationAdorner Adorner { get; }
Property Value
ConnectionManipulationAdorner
|
Connection
Gets the underlying connection that's being manipulated by this editor.
Declaration
public IConnection Connection { get; }
Property Value
IConnection
|
Implements
IsConnected
Gets a value indicating whether this editor is connected to a shape.
Declaration
public bool IsConnected { get; }
Property Value
System.Boolean
|
Remarks
IsManipulating
Gets or sets a value indicating whether this editor is currently being used (moved).
Declaration
public virtual bool IsManipulating { get; set; }
Property Value
System.Boolean
|
Implements
Position
Gets or sets the position of this editor.
Declaration
public Point Position { get; set; }
Property Value
Point
|
Implements
Type
Gets or sets this editor's type.
Declaration
public ManipulationPointType Type { get; set; }
Property Value
ManipulationPointType
|
Implements
Methods
CreateChildElements()
HitTest(Point)
Declaration
public override bool HitTest(Point point)
Parameters
System.Drawing.Point
point
|
Returns
System.Boolean
|
Overrides
OnIsManipulatingChanged()
Called when IsManipulating property is changed.
Declaration
protected virtual void OnIsManipulatingChanged()
OnMouseDown(MouseEventArgs)
Invoked when an unhandled System.Windows.RadElement.MouseLeftButtonDown 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
System.Windows.Forms.MouseEventArgs
e
The System.Windows.Input.MouseButtonEventArgs 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()
Explicit Interface Implementations
IConnectionEditPoint.UpdateDisplayElement()
Updates the display element.
Declaration
void IConnectionEditPoint.UpdateDisplayElement()
Implements
ISupportMouseOver.get_IsMouseOver()
Declaration
bool ISupportMouseOver.get_IsMouseOver()
Returns
System.Boolean
|