ClassDiagramShapeDefaultsContent
Telerik UI DiagramShapeDefaultsContent.
Definition
Namespace:Telerik.Blazor.Components
Assembly:Telerik.Blazor.dll
Syntax:
public class DiagramShapeDefaultsContent : DataVizChildComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance: objectComponentBaseDataVizChildComponentDiagramShapeDefaultsContent
Implements:
Inherited Members
Constructors
DiagramShapeDefaultsContent()
Declaration
public DiagramShapeDefaultsContent()
Properties
ChildContent
Declaration
[Parameter]
public RenderFragment ChildContent { get; set; }
Property Value
Color
The color of the shape content text.
FontFamily
The font family of the shape content text.
Declaration
[Parameter]
public string FontFamily { get; set; }
Property Value
FontSize
The font size of the shape content text.
Declaration
[Parameter]
public double? FontSize { get; set; }
Property Value
FontStyle
The font style of the shape content text.
Declaration
[Parameter]
public string FontStyle { get; set; }
Property Value
FontWeight
The font weight of the shape content text.
Declaration
[Parameter]
public string FontWeight { get; set; }
Property Value
RelativePadding
The relative padding of the content.
Declaration
[Parameter]
public double? RelativePadding { get; set; }
Property Value
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
[Parameter]
public string Template { get; set; }
Property Value
Text
The text that is displayed in the shape.
TextWrap
Defines the shape content text wrap.
Declaration
[Parameter]
public DiagramShapesContentTextWrap? TextWrap { get; set; }
Property Value
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builder
Overrides
OnAfterRender(bool)
Declaration
protected override void OnAfterRender(bool firstRender)
Parameters
firstRender
Overrides
OnInitialized()
Declaration
protected override void OnInitialized()
Overrides
OnParametersSet()
Declaration
protected override void OnParametersSet()
Overrides
Serialize()
Declaration
public Dictionary<string, object> Serialize()
Returns