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

Telerik UI DiagramShapeDefaultsContent.

Definition

Constructors

C#
public DiagramShapeDefaultsContent()

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

The color of the shape content text.

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

The font family of the shape content text.

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

The font size of the shape content text.

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

The font style of the shape content text.

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

The font weight of the shape content text.

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

The relative padding of the content.

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

The template which renders the labels.The fields which can be used in the template are: dataItem - The data item if a field has been specified.

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

The text that is displayed in the shape.

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

Defines the shape content text wrap.

C#
[Parameter]
public DiagramShapesContentTextWrap? TextWrap { get; set; }