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

Kendo UI DiagramShapeDefaultsEditableSettings class

Definition

Namespace:Kendo.Mvc.UI

Assembly:Kendo.Mvc.dll

Type Parameters:

TShapeModel

TConnectionModel

Syntax:

C#
public class DiagramShapeDefaultsEditableSettings<TShapeModel, TConnectionModel> where TShapeModel : class where TConnectionModel : class

Inheritance: objectDiagramShapeDefaultsEditableSettings<TShapeModel, TConnectionModel>

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

Constructors

C#
public DiagramShapeDefaultsEditableSettings()

Properties

Specifies if new connections can be added using the shapes connectors.

C#
public bool? Connect { get; set; }

Diagram

Diagram<TShapeModel, TConnectionModel>

Diagram member.

C#
public Diagram<TShapeModel, TConnectionModel> Diagram { get; set; }

Specifies if the shapes can be dragged.

C#
public bool? Drag { get; set; }

Defines the shape editable options.

C#
public bool? Enabled { get; set; }

Specifies if the shapes can be removed.

C#
public bool? Remove { get; set; }

Tools

List<DiagramShapeDefaultsEditableSettingsTool<TShapeModel, TConnectionModel>>

Specifies the toolbar tools. Provides all options that are supported for toolbar.items. If set to false, no edit tools will be displayed.The predefined tools are: "edit" - The selected item can be edited.; "delete" - The selected items can be deleted.; "rotateClockwise" - The selected items can be rotated clockwise. The default rotation value is 90 degrees. or "rotateAnticlockwise" - The selected items can be rotated anticlockwise. The default rotation value is 90 degrees..

C#
public List<DiagramShapeDefaultsEditableSettingsTool<TShapeModel, TConnectionModel>> Tools { get; set; }

Methods

Serialize current instance to Dictionary

C#
public Dictionary<string, object> Serialize()
Returns:

Dictionary<string, object>

Serialize current instance to Dictionary

C#
protected virtual Dictionary<string, object> SerializeSettings()
Returns:

Dictionary<string, object>