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

Kendo UI DiagramEditableDragSettings class

Definition

Namespace:Kendo.Mvc.UI

Assembly:Kendo.Mvc.dll

Type Parameters:

TShapeModel

TConnectionModel

Syntax:

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

Inheritance: objectDiagramEditableDragSettings<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 DiagramEditableDragSettings()

Properties

Diagram

Diagram<TShapeModel, TConnectionModel>

Diagram member.

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

Specifies if the shapes and connections can be dragged.

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

Snap

DiagramEditableDragSnapSettings<TShapeModel, TConnectionModel>

Specifies the shapes drag snap options. By default, during dragging, the shapes move by a given number of pixels at once. You can disable this behavior to make shapes movement smooth or you can specify a different number for the drag snap size to simulate a snap-to-grid functionality.

C#
public DiagramEditableDragSnapSettings<TShapeModel, TConnectionModel> Snap { get; }

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>