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

Represents a service for manipulation of manipulation points.

Definition

Namespace:Telerik.Windows.Diagrams.Core

Assembly:Telerik.WinControls.RadDiagram.dll

Syntax:

C#
public class ManipulationPointService : GraphServiceBase, IManipulationPointService

Inheritance: objectGraphServiceBaseManipulationPointService

Implements: IManipulationPointService

Inherited Members GraphServiceBase.Graph

Constructors

Initializes a new instance of the ManipulationPointService class.

C#
public ManipulationPointService(IGraphInternal graph)
Parameters:graphIGraphInternal

The graph.

Properties

Gets or sets the connection.

C#
public IConnection Connection { get; set; }

Gets or sets the initial points.

C#
public IList<Point> InitialPoints { get; set; }
Property Value:

The initial points.

Gets a value indicating whether this instance is being manipulated.

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

true if this instance is manipulating; otherwise, false.

Implements: IManipulationPointService.IsManipulating

Gets the manipulation point.

C#
public IConnectionEditPoint ManipulationPoint { get; set; }

Gets or sets the index of the point being manipulated.

C#
public int PointIndex { get; set; }
Property Value:

The index of the point.

Methods

Cleans / reverts the manipulation.

C#
public void CleanManipulation()

Implements: IManipulationPointService.CleanManipulation()

Completes the manipulation.

C#
public virtual bool CompleteManipulation(Point currentPoint)
Parameters:currentPointPoint

The current point.

Returns:

bool

Implements: IManipulationPointService.CompleteManipulation(Point)

Initializes the manipulation action.

C#
public virtual void InitializeManipulation(IConnectionEditPoint manipulationPoint)
Parameters:manipulationPointIConnectionEditPoint

The manipulation point.

Implements: IManipulationPointService.InitializeManipulation(IConnectionEditPoint)

Updates the manipulation of intermediate connection points.

C#
public virtual void Manipulate(Point newPoint)
Parameters:newPointPoint

The new point.

Implements: IManipulationPointService.Manipulate(Point)

Raises the event.

C#
public bool OnManipulationCompleted(ManipulationEventArgs args)
Parameters:argsManipulationEventArgs

The ManipulationEventArgs instance containing the event data.

Returns:

bool

Implements: IManipulationPointService.OnManipulationCompleted(ManipulationEventArgs)

Raises the event.

C#
public bool OnManipulationStarted(IConnectionEditPoint editPoint, IConnector connector, Point currentPosition)
Parameters:editPointIConnectionEditPoint

The edit point.

connectorIConnector

The connector.

currentPositionPoint

The current position.

Returns:

bool

Implements: IManipulationPointService.OnManipulationStarted(IConnectionEditPoint, IConnector, Point)

Manipulates the active manipulation point to the specified position.

C#
public virtual bool StartManipulate(Point currentPoint)
Parameters:currentPointPoint

The current point.

Returns:

bool

Implements: IManipulationPointService.StartManipulate(Point)

Events

Occurs when manipulating.

C#
public event EventHandler Manipulating

Implements: IManipulationPointService.Manipulating

Occurs when manipulation is completed.

C#
public event EventHandler<ManipulationEventArgs> ManipulationCompleted

Implements: IManipulationPointService.ManipulationCompleted

Occurs when manipulation is started.

C#
public event EventHandler<ManipulationEventArgs> ManipulationStarted

Implements: IManipulationPointService.ManipulationStarted