Class
DiagramLayoutGrid

Telerik UI DiagramLayoutGrid.

Definition

Constructors

DiagramLayoutGrid()

Declaration

cs-api-definition
public DiagramLayoutGrid()

Properties

ChildContent

Declaration

cs-api-definition
[Parameter]
public RenderFragment ChildContent { get; set; }

Property Value

RenderFragment

ComponentSpacingX

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

Declaration

cs-api-definition
[Parameter]
public double? ComponentSpacingX { get; set; }

Property Value

double?

ComponentSpacingY

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

Declaration

cs-api-definition
[Parameter]
public double? ComponentSpacingY { get; set; }

Property Value

double?

OffsetX

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

Declaration

cs-api-definition
[Parameter]
public double? OffsetX { get; set; }

Property Value

double?

OffsetY

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

Declaration

cs-api-definition
[Parameter]
public double? OffsetY { get; set; }

Property Value

double?

Width

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.

Declaration

cs-api-definition
[Parameter]
public double? Width { get; set; }

Property Value

double?

Methods

BuildRenderTree(RenderTreeBuilder)

Declaration

cs-api-definition
protected override void BuildRenderTree(RenderTreeBuilder __builder)

Parameters

__builder

RenderTreeBuilder

Overrides ComponentBase.BuildRenderTree(RenderTreeBuilder)

OnAfterRender(bool)

Declaration

cs-api-definition
protected override void OnAfterRender(bool firstRender)

Parameters

firstRender

bool

Overrides ComponentBase.OnAfterRender(bool)

OnInitialized()

Declaration

cs-api-definition
protected override void OnInitialized()

Overrides DataVizChildComponent.OnInitialized()

OnParametersSet()

Declaration

cs-api-definition
protected override void OnParametersSet()

Overrides ComponentBase.OnParametersSet()

Serialize()

Declaration

cs-api-definition
public Dictionary<string, object> Serialize()

Returns

Dictionary<string, object>