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

Represents a container service.

Definition

Namespace:Telerik.Windows.Diagrams.Core

Assembly:Telerik.WinControls.RadDiagram.dll

Syntax:

C#
public interface IControllerService

Derived Classes: GraphController

Methods

Begins the connection creation.

C#
ICommand BeginConnectionCreation(IConnection connection)
Parameters:connectionIConnection

The connection.

Returns:

ICommand

Begins the shape creation.

C#
ICommand BeginShapeCreation(IShape shape)
Parameters:shapeIShape

The shape.

Returns:

ICommand

Completes the connection creation.

C#
ICommand CompleteConnectionCreation(IConnection connection)
Parameters:connectionIConnection

The connection.

Returns:

ICommand

Completes the shape creation.

C#
ICommand CompleteShapeCreation(IShape shape)
Parameters:shapeIShape

The shape.

Returns:

ICommand

Creates the connection.

C#
IConnection CreateConnection(IShape source, IShape target)
Parameters:sourceIShape

The source.

targetIShape

The target.

Returns:

IConnection

Creates the connection.

C#
IConnection CreateConnection(Point startPoint, Point endPoint)
Parameters:startPointPoint

The start point.

endPointPoint

The end point.

Returns:

IConnection

Creates an undoable geometry shape.

C#
IGeometryShape CreateGeometryShape(ref ICommand command)
Parameters:commandICommandReturns:

IGeometryShape

Creates an undoable text shape.

C#
ITextShape CreateTextShape()
Returns:

ITextShape