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

Define the grid layout of the Diagram. The content is divided into components that are arranged in a grid layout according to the provided settings.

Definition

Constructors

C#
public DiagramGrid()

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; }

Specifies whether the implementing object has default values.

C#
public bool IsDefault { get; }

Implements: IDefaultCheck.IsDefault

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; }