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

Definition

Namespace:Kendo.Mvc.UI

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class DiagramLayoutGridSettings : JsonObject

Inheritance: objectJsonObjectDiagramLayoutGridSettings

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

Constructors

C#
public DiagramLayoutGridSettings()

Properties

Defines the horizontal spacing between each component. The default is 50.

C#
public double? ComponentSpacingX { get; set; }

Defines the vertical spacing between each component. The default is 50.

C#
public double? ComponentSpacingY { get; set; }

Defines the left offset of the grid layout. The default is 50.

C#
public double? OffsetX { get; set; }

Defines the top offset of the grid layout. The default is 50.

C#
public double? OffsetY { get; set; }

Defines the width of the grid. The bigger this parameter the more components will be organized in an horizontal row. How many components really depends on your diagram and they type of layout applied to each component. The default is set to 800.

C#
public double? Width { get; set; }

Methods

C#
protected override void Serialize(IDictionary<string, object> json)
Parameters:jsonIDictionary<string, object>

Overrides: JsonObject.Serialize(IDictionary<string, object>)