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

Configures the border styling around the chart title area for enhanced visual presentation. Provides comprehensive control over border appearance including color, style, and thickness to create professional chart designs. Use this component to add visual boundaries around the title, improve contrast, or match your application's design theme.

Definition

Constructors

C#
public ChartTitleBorder()

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

Sets the color of the chart title border. Accepts any valid CSS color value including hex codes (#cccccc), RGB values (rgb(204,204,204)), or color names (gray). Use this to create visual definition around the title area and ensure the border complements your chart's color scheme. Example: Set to "#e0e0e0" for a subtle gray border, or "#007acc" to match brand colors and create emphasis.

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

Sets the dash pattern style for the chart title border line. Controls the visual appearance of the border, allowing for solid lines or various dashed patterns for different design effects. Use this to create distinctive border styles that match your application's visual language or highlight specific chart types. Accepts values from the DashType enumeration including solid, dash, dot, and various dash-dot combinations.

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

Sets the thickness of the chart title border in pixels. Controls how prominent the border appears around the title area, affecting the overall visual weight and emphasis. Use this to create subtle outlines with thin borders or bold frames with thicker borders based on your design needs. Example: Set to 1 for a fine border, 2-3 for standard emphasis, or 0 to hide the border completely.

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