Class
DiagramShapeDefaultsContent

Telerik UI DiagramShapeDefaultsContent.

Definition

Namespace:Telerik.Blazor.Components

Assembly:Telerik.Blazor.dll

Syntax:

cs-api-definition
public class DiagramShapeDefaultsContent : DataVizChildComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable

Inheritance: objectComponentBaseDataVizChildComponentDiagramShapeDefaultsContent

Implements: IComponentIDisposableIHandleAfterRenderIHandleEvent

Inherited Members ComponentBase.OnInitializedAsync()ComponentBase.OnParametersSetAsync()ComponentBase.StateHasChanged()ComponentBase.ShouldRender()ComponentBase.OnAfterRenderAsync(bool)ComponentBase.InvokeAsync(Action)ComponentBase.InvokeAsync(Func<Task>)ComponentBase.DispatchExceptionAsync(Exception)ComponentBase.SetParametersAsync(ParameterView)

Constructors

DiagramShapeDefaultsContent()

Declaration

cs-api-definition
public DiagramShapeDefaultsContent()

Properties

ChildContent

Declaration

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

Property Value

RenderFragment

Color

The color of the shape content text.

Declaration

cs-api-definition
[Parameter]
public string Color { get; set; }

Property Value

string

FontFamily

The font family of the shape content text.

Declaration

cs-api-definition
[Parameter]
public string FontFamily { get; set; }

Property Value

string

FontSize

The font size of the shape content text.

Declaration

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

Property Value

double?

FontStyle

The font style of the shape content text.

Declaration

cs-api-definition
[Parameter]
public string FontStyle { get; set; }

Property Value

string

FontWeight

The font weight of the shape content text.

Declaration

cs-api-definition
[Parameter]
public string FontWeight { get; set; }

Property Value

string

RelativePadding

The relative padding of the content.

Declaration

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

Property Value

double?

Template

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.

Declaration

cs-api-definition
[Parameter]
public string Template { get; set; }

Property Value

string

Text

The text that is displayed in the shape.

Declaration

cs-api-definition
[Parameter]
public string Text { get; set; }

Property Value

string

TextWrap

Defines the shape content text wrap.

Declaration

cs-api-definition
[Parameter]
public DiagramShapesContentTextWrap? TextWrap { get; set; }

Property Value

DiagramShapesContentTextWrap?

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>