DiagramConnection
Defines the connections configuration.
Definition
Namespace:Telerik.Web.UI
Assembly:Telerik.Web.UI.dll
Syntax:
public class DiagramConnection : StateManager, IMarkableStateManager, IStateManager
Inheritance: objectStateManagerDiagramConnection
Implements:
Inherited Members
Constructors
public DiagramConnection()
Properties
Defines the content configuration.
[PersistenceMode(PersistenceMode.InnerProperty)]
public ConnectionContent ContentSettings { get; }
Specifies editable properties for connections
[PersistenceMode(PersistenceMode.InnerProperty)]
public ConnectionEditable EditableSettings { get; }
The end cap (arrow, head or decoration) of the connection.
public ConnectionEndCap EndCap { get; set; }
The connection end cap configuration or type name.
[PersistenceMode(PersistenceMode.InnerProperty)]
public EndCap EndCapSettings { get; }
Specifies the name of the source shape connector that should be used by default.
public string FromConnector { get; set; }
Defines the settings for the source shape.
[PersistenceMode(PersistenceMode.InnerProperty)]
public ConnectionEndPoint FromSettings { get; }
The absolute point (X-coordinate), if any, that the connection is originating from.
public double FromX { get; set; }
The absolute point (Y-coordinate), if any, that the connection is originating from.
public double FromY { get; set; }
Defines the hover configuration.
[PersistenceMode(PersistenceMode.InnerProperty)]
public ConnectionHover HoverSettings { get; }
Sets the intermediate points (in global coordinates) of the connection.
[PersistenceMode(PersistenceMode.InnerProperty)]
public DiagramConnectionPointsCollection PointsCollection { get; }
Specifies if the connection can be selected.
public bool Selectable { get; set; }
The start cap (arrow, head or decoration) of the connection.
public ConnectionStartCap StartCap { get; set; }
The connection start cap configuration or type name.
[PersistenceMode(PersistenceMode.InnerProperty)]
public StartCap StartCapSettings { get; }
Defines the stroke configuration.
[PersistenceMode(PersistenceMode.InnerProperty)]
public ConnectionStroke StrokeSettings { get; }
Specifies the name of the target shape connector that should be used by default.
public string ToConnector { get; set; }
Defines the settings for the target shape.
[PersistenceMode(PersistenceMode.InnerProperty)]
public ConnectionEndPoint ToSettings { get; }
The absolute point (X-coordinate), if any, that the connection is pointing to.
public double ToX { get; set; }
The absolute point (Y-coordinate), if any, that the connection is pointing to.
public double ToY { get; set; }
The type of the connection that defines the way it routes.
public ConnectionType Type { get; set; }
Methods
protected override void TrackViewState()
Overrides: