skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class ConnectionEditPointControl

Represents a manipulation point of a connection.

Inheritance
System.Object
ConnectionEditPointControl
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
IConnectionEditPoint.Connection

IsConnected

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

Declaration
public bool IsConnected { get; }
Property Value
System.Boolean

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.

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

True if this instance is manipulating; otherwise, false.

Implements
IConnectionEditPoint.IsManipulating

Position

Gets or sets the position of this editor.

Declaration
public Point Position { get; set; }
Property Value
System.Windows.Point

Implements
IConnectionEditPoint.Position

Type

Gets or sets this editor's type.

Declaration
public ManipulationPointType Type { get; set; }
Property Value
ManipulationPointType

Implements
IConnectionEditPoint.Type

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
Telerik.Windows.Diagrams.Core.IConnectionEditPoint.get_Visibility()

IConnectionEditPoint.set_Visibility(Visibility)

Declaration
void IConnectionEditPoint.set_Visibility(Visibility value)
Parameters
System.Windows.Visibility value

Implements
Telerik.Windows.Diagrams.Core.IConnectionEditPoint.set_Visibility(System.Windows.Visibility)

IConnectionEditPoint.UpdateDisplayElement()

Updates the display element.

Declaration
void IConnectionEditPoint.UpdateDisplayElement()
Implements
IConnectionEditPoint.UpdateDisplayElement()

Extension Methods

CollectionExtensions.ToEnumerable<T>(T)
EnumerableExtensions.ToEnumerable<T>(T)
Getting Started
  • Install Now
  • Demos
  • SDK Samples Browser
  • Sample Applications
Support Resources
  • Code Library
  • Knowledge Base
  • MVVM Support
  • Videos
  • GitHub SDK Repository
Community
  • Forums
  • Blogs
  • XAML Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.