New to Telerik UI for ASP.NET MVC? Download free 30-day trial

DiagramConnectionFromSettingsBuilder

Methods

X(System.Double)

Defines the x-coordinate of the connection source.

Parameters

value - System.Double

The value that configures the x-coordinate.

Example


             @(Html.Kendo().Diagram()
              .Name("diagram")
              .Connections(c => c
                .Add().From(f => f.X(20))
               )
             )

Y(System.Double)

Defines the y-coordinate of the connection source.

Parameters

value - System.Double

The value that configures the y-coordinate.

Example


             @(Html.Kendo().Diagram()
              .Name("diagram")
              .Connections(c => c
                .Add().From(f => f.Y(70))
               )
             )

Id(System.Object)

Defines the shape id that corresponds to the source of the connection.

Parameters

value - System.Object

The value that configures the source shape id.

Example


             @(Html.Kendo().Diagram()
              .Name("diagram")
              .Connections(c => c
                .Add().From(f => f.Id("1"))
               )
             )

Connector(System.String)

Defines the name of the source shape connector.

Parameters

value - System.String

The value that configures the source shape connector name.

Example


             @(Html.Kendo().Diagram()
              .Name("diagram")
              .Connections(c => c
                .Add().From(f => f.Connector("Id"))
               )
             )

In this article
Not finding the help you need?