Class ConnectionEditPointControl
Represents a manipulation point of a connection.
Inheritance
Namespace: Telerik.Windows.Controls.Diagrams.Primitives
Assembly: Telerik.Windows.Controls.Diagrams.dll
Syntax
public class ConnectionEditPointControl : Control, IConnectionEditPoint, ISupportMouseOver, IThemable
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. |
System.Windows.Point
position
The position. |
RadDiagramConnection
connection
The connection. |
Fields
PositionProperty
The Position dependency property.
Declaration
public static readonly DependencyProperty PositionProperty
Field Value
System.Windows.DependencyProperty
|
TypeProperty
The Type dependency property.
Declaration
public static readonly DependencyProperty TypeProperty
Field Value
System.Windows.DependencyProperty
|
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
System.Windows.Point
|
Implements
Type
Gets or sets this editor's type.
Declaration
public ManipulationPointType Type { get; set; }
Property Value
ManipulationPointType
|
Implements
Methods
OnApplyTemplate()
When overridden in a derived class, is invoked whenever application code or internal processes call System.Windows.FrameworkElement.ApplyTemplate.
Declaration
public override void OnApplyTemplate()
OnInitialized(EventArgs)
Raises the System.Windows.FrameworkElement.Initialized event. This method is invoked whenever System.Windows.FrameworkElement.IsInitialized is set to true internally.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
System.EventArgs
e
The System.Windows.RoutedEventArgs that contains the event data. |
OnIsManipulatingChanged()
Called when IsManipulating property is changed.
Declaration
protected virtual void OnIsManipulatingChanged()
OnMouseEnter(MouseEventArgs)
Invoked when an unhandled System.Windows.Input.Mouse.MouseEnter attached event is raised on this element. Implement this method to add class handling for this event.
Declaration
protected override void OnMouseEnter(MouseEventArgs e)
Parameters
System.Windows.Input.MouseEventArgs
e
The System.Windows.Input.MouseEventArgs that contains the event data. |
OnMouseLeave(MouseEventArgs)
Invoked when an unhandled System.Windows.Input.Mouse.MouseLeave attached event is raised on this element. Implement this method to add class handling for this event.
Declaration
protected override void OnMouseLeave(MouseEventArgs e)
Parameters
System.Windows.Input.MouseEventArgs
e
The System.Windows.Input.MouseEventArgs that contains the event data. |
OnMouseLeftButtonDown(MouseButtonEventArgs)
Invoked when an unhandled System.Windows.UIElement.MouseLeftButtonDown routed event is raised on this element. Implement this method to add class handling for this event.
Declaration
protected override void OnMouseLeftButtonDown(MouseButtonEventArgs e)
Parameters
System.Windows.Input.MouseButtonEventArgs
e
The System.Windows.Input.MouseButtonEventArgs that contains the event data. The event data reports that the left mouse button was pressed. |
OnPositionChanged()
Called when position changes.
Declaration
protected virtual void OnPositionChanged()
ResetTheme()
Resets the theme.
Declaration
public void ResetTheme()
UpdateDisplayElement()
Updates the displayed element.
Declaration
public void UpdateDisplayElement()
UpdateVisualStates()
Updates the visual states.
Declaration
protected virtual void UpdateVisualStates()
Explicit Interface Implementations
IConnectionEditPoint.get_Visibility()
Declaration
Visibility IConnectionEditPoint.get_Visibility()
Returns
System.Windows.Visibility
|
Implements
IConnectionEditPoint.set_Visibility(Visibility)
Declaration
void IConnectionEditPoint.set_Visibility(Visibility value)
Parameters
System.Windows.Visibility
value
|
Implements
IConnectionEditPoint.UpdateDisplayElement()
Updates the display element.
Declaration
void IConnectionEditPoint.UpdateDisplayElement()