InterfaceIControllerService
Interface
Represents a container service.
Definition
Namespace:Telerik.Windows.Diagrams.Core
Assembly:Telerik.Windows.Diagrams.Core.dll
Syntax:
cs-api-definition
public interface IControllerService
Methods
BeginConnectionCreation(IConnection)
Begins the connection creation.
Declaration
cs-api-definition
ICommand BeginConnectionCreation(IConnection connection)
Parameters
connection
The connection.
Returns
BeginShapeCreation(IShape)
Begins the shape creation.
CompleteConnectionCreation(IConnection)
Completes the connection creation.
Declaration
cs-api-definition
ICommand CompleteConnectionCreation(IConnection connection)
Parameters
connection
The connection.
Returns
CompleteShapeCreation(IShape)
Completes the shape creation.
CreateConnection(IShape, IShape)
Creates the connection.
Declaration
cs-api-definition
IConnection CreateConnection(IShape source, IShape target)
Parameters
source
The source.
target
The target.
Returns
CreateConnection(Point, Point)
Creates the connection.
Declaration
cs-api-definition
IConnection CreateConnection(Point startPoint, Point endPoint)
Parameters
startPoint
Point
The start point.
endPoint
Point
The end point.
Returns
CreateGeometryShape(ref ICommand)
Creates an undoable geometry shape.
Declaration
cs-api-definition
[SuppressMessage("Microsoft.Design", "CA1045:DoNotPassTypesByReference")]
IGeometryShape CreateGeometryShape(ref ICommand command)
Parameters
command
Returns
CreateTextShape()
Creates an undoable text shape.