Interface
IControllerService

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

IConnection

The connection.

Returns

ICommand

BeginShapeCreation(IShape)

Begins the shape creation.

Declaration

cs-api-definition
ICommand BeginShapeCreation(IShape shape)

Parameters

shape

IShape

The shape.

Returns

ICommand

CompleteConnectionCreation(IConnection)

Completes the connection creation.

Declaration

cs-api-definition
ICommand CompleteConnectionCreation(IConnection connection)

Parameters

connection

IConnection

The connection.

Returns

ICommand

CompleteShapeCreation(IShape)

Completes the shape creation.

Declaration

cs-api-definition
ICommand CompleteShapeCreation(IShape shape)

Parameters

shape

IShape

The shape.

Returns

ICommand

CreateConnection(IShape, IShape)

Creates the connection.

Declaration

cs-api-definition
IConnection CreateConnection(IShape source, IShape target)

Parameters

source

IShape

The source.

target

IShape

The target.

Returns

IConnection

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

IConnection

CreateGeometryShape(ref ICommand)

Creates an undoable geometry shape.

Declaration

cs-api-definition
[SuppressMessage("Microsoft.Design", "CA1045:DoNotPassTypesByReference")]
IGeometryShape CreateGeometryShape(ref ICommand command)

Parameters

command

ICommand

Returns

IGeometryShape

CreateTextShape()

Creates an undoable text shape.

Declaration

cs-api-definition
ITextShape CreateTextShape()

Returns

ITextShape