ConnectionDefaults
Defines the defaults of the connections. Whenever a connection is created, the specified connectionDefaults will be used and merged with the (optional) configuration passed through the connection creation method.
Definition
Namespace:Telerik.Web.UI.Diagram
Assembly:Telerik.Web.UI.dll
Syntax:
public class ConnectionDefaults : StateManager, IMarkableStateManager, IStateManager, IDefaultCheck
Inheritance: objectStateManagerConnectionDefaults
Implements:
Inherited Members
Constructors
public ConnectionDefaults()
Properties
Defines the label displayed on the connection path.
[PersistenceMode(PersistenceMode.InnerProperty)]
public ConnectionContent ContentSettings { get; }
Defines the editable configuration by default.
[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 hover configuration.
[PersistenceMode(PersistenceMode.InnerProperty)]
public ConnectionHover HoverSettings { get; }
Specifies whether the implementing object has default values.
public bool IsDefault { get; }
Implements:
Specifies if the connection can be selected.
public bool Selectable { get; set; }
Defines the connection selection configuration.
[PersistenceMode(PersistenceMode.InnerProperty)]
public Selection SelectionSettings { get; }
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; }
The type of the connection that defines the way it routes.
public ConnectionType Type { get; set; }
Methods
protected override void TrackViewState()
Overrides: