ClassChartSubtitleBorder
Configures the border styling around the chart subtitle to provide visual definition and enhance subtitle presentation. Controls border appearance including colors, line patterns, and thickness to create professional subtitle layouts and improve overall chart visual hierarchy.
Definition
Namespace:Telerik.Blazor.Components
Assembly:Telerik.Blazor.dll
Syntax:
public class ChartSubtitleBorder : DataVizChildComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance: objectComponentBaseDataVizChildComponentChartSubtitleBorder
Implements:
Inherited Members
Constructors
ChartSubtitleBorder()
Declaration
public ChartSubtitleBorder()
Properties
ChildContent
Declaration
[Parameter]
public RenderFragment ChildContent { get; set; }
Property Value
Color
Sets the border color for the chart subtitle using any valid CSS color value. Accepts hex codes (#E0E0E0), RGB values (rgb(224, 224, 224)), named colors (lightgray, silver), or HSL values. Use subtle border colors that complement the subtitle without overpowering the text content.
DashType
Defines the line pattern style for subtitle borders using DashType values. Choose from "solid" for continuous borders, "dash" for dashed lines, "dot" for dotted patterns, or other combinations to create distinctive subtitle styling that matches chart design themes.
Declaration
[Parameter]
public DashType? DashType { get; set; }
Property Value
Width
Specifies the thickness of the subtitle border in pixels. Use 1-2 pixels for subtle borders, 3-4 pixels for more prominent definition, or 0 to remove borders completely. Border width should complement subtitle text size and overall chart proportions.
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