New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial

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:

C#
public class ConnectionDefaults : StateManager, IMarkableStateManager, IStateManager, IDefaultCheck

Inheritance: objectStateManagerConnectionDefaults

Implements: IDefaultCheckIMarkableStateManagerIStateManager

Inherited Members StateManager.IsTrackingViewStateStateManager.ViewStateobject.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()object.GetType()object.MemberwiseClone()...

Constructors

C#
public ConnectionDefaults()

Properties

Defines the label displayed on the connection path.

C#
[PersistenceMode(PersistenceMode.InnerProperty)]
public ConnectionContent ContentSettings { get; }

Enable editing for connections by default.

C#
public bool Editable { get; set; }

Defines the editable configuration by default.

C#
[PersistenceMode(PersistenceMode.InnerProperty)]
public ConnectionEditable EditableSettings { get; }

The end cap (arrow, head or decoration) of the connection.

C#
public ConnectionEndCap EndCap { get; set; }

The connection end cap configuration or type name.

C#
[PersistenceMode(PersistenceMode.InnerProperty)]
public EndCap EndCapSettings { get; }

Specifies the name of the source shape connector that should be used by default.

C#
public string FromConnector { get; set; }

Defines the hover configuration.

C#
[PersistenceMode(PersistenceMode.InnerProperty)]
public ConnectionHover HoverSettings { get; }

Specifies whether the implementing object has default values.

C#
public bool IsDefault { get; }

Implements: IDefaultCheck.IsDefault

Specifies if the connection can be selected.

C#
public bool Selectable { get; set; }

Defines the connection selection configuration.

C#
[PersistenceMode(PersistenceMode.InnerProperty)]
public Selection SelectionSettings { get; }

The start cap (arrow, head or decoration) of the connection.

C#
public ConnectionStartCap StartCap { get; set; }

The connection start cap configuration or type name.

C#
[PersistenceMode(PersistenceMode.InnerProperty)]
public StartCap StartCapSettings { get; }

Defines the stroke configuration.

C#
[PersistenceMode(PersistenceMode.InnerProperty)]
public ConnectionStroke StrokeSettings { get; }

Specifies the name of the target shape connector that should be used by default.

C#
public string ToConnector { get; set; }

The type of the connection that defines the way it routes.

C#
public ConnectionType Type { get; set; }

Methods

C#
protected override void LoadViewState(object state)
Parameters:stateobject

Overrides: StateManager.LoadViewState(object)

C#
protected override object SaveViewState()
Returns:

object

Overrides: StateManager.SaveViewState()

C#
protected override void TrackViewState()

Overrides: StateManager.TrackViewState()