DiagramConnectionToSettingsBuilder
Methods
X(System.Double)
Defines the value of point X.
Parameters
value - System.Double
The value that configures the point X.
Example
@(Html.Kendo().Diagram()
.Name("diagram")
.Connections(c => c
.Add().To(t => t.X(450))
)
)
Y(System.Double)
Defines the value of point Y.
Parameters
value - System.Double
The value that configures the point Y.
Example
@(Html.Kendo().Diagram()
.Name("diagram")
.Connections(c => c
.Add().To(t => t.Y(70))
)
)
Id(System.Object)
Defines the shape id that corresponds to the target of the connection.
Parameters
value - System.Object
The value that configures the target shape id.
Example
@(Html.Kendo().Diagram()
.Name("diagram")
.Connections(c => c
.Add().To(t => t.Id("1"))
)
)
Connector(System.String)
Defines the name of the target shape connector.
Parameters
value - System.String
The value that configures the target shape connector name.
Example
@(Html.Kendo().Diagram()
.Name("diagram")
.Connections(c => c
.Add().To(t => t.Connector("Id"))
)
)