New to Telerik UI for WPFStart a free 30-day trial

Represents a manipulation point of a connection.

Definition

Namespace:Telerik.Windows.Controls.Diagrams.Primitives

Assembly:Telerik.Windows.Controls.Diagrams.dll

Syntax:

C#
public class ConnectionEditPointControl : Control, IConnectionEditPoint, ISupportMouseOver

Inheritance: objectConnectionEditPointControl

Implements: IConnectionEditPointISupportMouseOver

Constructors

Initializes a new instance of the ConnectionEditPointControl class.

C#
protected ConnectionEditPointControl()

Initializes a new instance of the ConnectionEditPointControl class.

C#
public ConnectionEditPointControl(ManipulationPointType type, Point position, RadDiagramConnection connection)
Parameters:typeManipulationPointType

The type.

positionPoint

The position.

connectionRadDiagramConnection

The connection.

Fields

PositionProperty

DependencyProperty

The Position dependency property.

C#
public static readonly DependencyProperty PositionProperty

TypeProperty

DependencyProperty

The Type dependency property.

C#
public static readonly DependencyProperty TypeProperty

Properties

Gets the connection adorner in which this editor resides.

C#
public ConnectionManipulationAdorner Adorner { get; }

Gets the underlying connection that's being manipulated by this editor.

C#
public IConnection Connection { get; }

Implements: IConnectionEditPoint.Connection

Gets a value indicating whether this editor is connected to a shape.

C#
public bool IsConnected { get; }
Property Value:

True if this instance is connected; otherwise, false.

Remarks:

This property only makes sense if the Type is either equal to First or to Last.

Gets or sets a value indicating whether this editor is currently being used (moved).

C#
public virtual bool IsManipulating { get; set; }
Property Value:

True if this instance is manipulating; otherwise, false.

Implements: IConnectionEditPoint.IsManipulating

Gets or sets the position of this editor.

C#
public Point Position { get; set; }

Implements: IConnectionEditPoint.Position

Gets or sets this editor's type.

C#
public ManipulationPointType Type { get; set; }

Implements: IConnectionEditPoint.Type

Methods

When overridden in a derived class, is invoked whenever application code or internal processes call .

C#
public override void OnApplyTemplate()

Raises the event. This method is invoked whenever is set to true internally.

C#
protected override void OnInitialized(EventArgs e)
Parameters:eEventArgs

The RoutedEventArgs that contains the event data.

Called when IsManipulating property is changed.

C#
protected virtual void OnIsManipulatingChanged()

Invoked when an unhandled  attached event is raised on this element. Implement this method to add class handling for this event.

C#
protected override void OnMouseEnter(MouseEventArgs e)
Parameters:eMouseEventArgs

The MouseEventArgs that contains the event data.

Invoked when an unhandled  attached event is raised on this element. Implement this method to add class handling for this event.

C#
protected override void OnMouseLeave(MouseEventArgs e)
Parameters:eMouseEventArgs

The MouseEventArgs that contains the event data.

Invoked when an unhandled  routed event is raised on this element. Implement this method to add class handling for this event.

C#
protected override void OnMouseLeftButtonDown(MouseButtonEventArgs e)
Parameters:eMouseButtonEventArgs

The MouseButtonEventArgs that contains the event data. The event data reports that the left mouse button was pressed.

Called when position changes.

C#
protected virtual void OnPositionChanged()

Resets the theme.

C#
public void ResetTheme()

Updates the displayed element.

C#
public void UpdateDisplayElement()

Updates the visual states.

C#
protected virtual void UpdateVisualStates()