New to Telerik UI for BlazorStart a free 30-day trial

Telerik UI DiagramLayoutGrid.

Definition

Constructors

C#
public DiagramLayoutGrid()

Methods

C#
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters:__builderRenderTreeBuilder

Overrides: ComponentBase.BuildRenderTree(RenderTreeBuilder)

C#
protected override void OnAfterRender(bool firstRender)
Parameters:firstRenderbool

Overrides: ComponentBase.OnAfterRender(bool)

C#
protected override void OnInitialized()

Overrides: DataVizChildComponent.OnInitialized()

C#
protected override void OnParametersSet()

Overrides: ComponentBase.OnParametersSet()

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

Dictionary<string, object>

Properties

C#
[Parameter]
public RenderFragment ChildContent { get; set; }

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

C#
[Parameter]
public double? ComponentSpacingX { get; set; }

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

C#
[Parameter]
public double? ComponentSpacingY { get; set; }

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

C#
[Parameter]
public double? OffsetX { get; set; }

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

C#
[Parameter]
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#
[Parameter]
public double? Width { get; set; }