Class ManipulationPointService
Represents a service for manipulation of manipulation points.
Inherited Members
Namespace: Telerik.Windows.Diagrams.Core
Assembly: Telerik.WinControls.RadDiagram.dll
Syntax
public class ManipulationPointService : GraphServiceBase, IManipulationPointService
Constructors
ManipulationPointService(IGraphInternal)
Initializes a new instance of the ManipulationPointService class.
Declaration
public ManipulationPointService(IGraphInternal graph)
Parameters
IGraphInternal
graph
The graph. |
Properties
Connection
Gets or sets the connection.
Declaration
public IConnection Connection { get; set; }
Property Value
IConnection
|
InitialPoints
Gets or sets the initial points.
Declaration
public IList<Point> InitialPoints { get; set; }
Property Value
System.Collections.Generic.IList<Point>
The initial points. |
IsManipulating
Gets a value indicating whether this instance is being manipulated.
Declaration
public bool IsManipulating { get; }
Property Value
System.Boolean
|
Implements
ManipulationPoint
Gets the manipulation point.
Declaration
public IConnectionEditPoint ManipulationPoint { get; set; }
Property Value
IConnectionEditPoint
|
PointIndex
Gets or sets the index of the point being manipulated.
Declaration
public int PointIndex { get; set; }
Property Value
System.Int32
The index of the point. |
Methods
CleanManipulation()
Cleans / reverts the manipulation.
Declaration
public void CleanManipulation()
Implements
CompleteManipulation(Point)
Completes the manipulation.
Declaration
public virtual bool CompleteManipulation(Point currentPoint)
Parameters
Point
currentPoint
The current point. |
Returns
System.Boolean
|
Implements
InitializeManipulation(IConnectionEditPoint)
Initializes the manipulation action.
Declaration
public virtual void InitializeManipulation(IConnectionEditPoint manipulationPoint)
Parameters
IConnectionEditPoint
manipulationPoint
The manipulation point. |
Implements
Manipulate(Point)
Updates the manipulation of intermediate connection points.
Declaration
public virtual void Manipulate(Point newPoint)
Parameters
Point
newPoint
The new point. |
Implements
OnManipulationCompleted(ManipulationEventArgs)
Raises the ManipulationCompleted event.
Declaration
public bool OnManipulationCompleted(ManipulationEventArgs args)
Parameters
ManipulationEventArgs
args
The ManipulationEventArgs instance containing the event data. |
Returns
System.Boolean
|
Implements
OnManipulationStarted(IConnectionEditPoint, IConnector, Point)
Raises the ManipulationStarted event.
Declaration
public bool OnManipulationStarted(IConnectionEditPoint editPoint, IConnector connector, Point currentPosition)
Parameters
IConnectionEditPoint
editPoint
The edit point. |
IConnector
connector
The connector. |
Point
currentPosition
The current position. |
Returns
System.Boolean
|
Implements
StartManipulate(Point)
Manipulates the active manipulation point to the specified position.
Declaration
public virtual bool StartManipulate(Point currentPoint)
Parameters
Point
currentPoint
The current point. |
Returns
System.Boolean
|
Implements
Events
Manipulating
Occurs when manipulating.
Declaration
public event EventHandler Manipulating
Event Type
System.EventHandler
|
Implements
ManipulationCompleted
Occurs when manipulation is completed.
Declaration
public event EventHandler<ManipulationEventArgs> ManipulationCompleted
Event Type
System.EventHandler<ManipulationEventArgs>
|
Implements
ManipulationStarted
Occurs when manipulation is started.
Declaration
public event EventHandler<ManipulationEventArgs> ManipulationStarted
Event Type
System.EventHandler<ManipulationEventArgs>
|