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

Telerik UI DiagramShapeDefaults.

Definition

Constructors

C#
public DiagramShapeDefaults()

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 shape corner radius.

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

Defines the default height of shapes in the Diagram.

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

Defines the minimum height the shape can have. Use this setting to apply a lower limit to the height of shapes when users resize them.

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

Defines the minimum width the shape can have. Use this setting to apply a lower limit to the width of shapes when users resize them.

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

The path option of a Shape is a description of a custom geometry. The format follows the standard SVG format (https://www.w3.org/TR/SVG/paths.html#PathData "SVG Path data.").

C#
[Parameter]
public string Path { get; set; }

Specifies if Diagram shapes can be selected.

C#
[Parameter]
public bool? Selectable { get; set; }

The path/URL to the shape image. Applicable when the type is set to "image".

C#
[Parameter]
public string Source { get; set; }

Specifies the type of the Shape using any of the built-in shape type. "rectangle": this is the default option; "circle": a circle/ellipse; "image": an image or "text": some text.

C#
[Parameter]
public DiagramShapeType? Type { get; set; }

A function that returns a visual element to render for a given shape. The following primitives can be used to construct a composite visual: Circle; Rectangle; Path; Line; Polyline; TextBlock; Image or Layout.

C#
[Parameter]
public string Visual { get; set; }

Defines the default width of shapes in the Diagram.

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

Defines the x-coordinate of shapes added to the Diagram.

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

Defines the y-coordinate of shapes added to the Diagram.

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