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

Configures the border styling for legend item markers to provide visual definition and enhance marker appearance within legend layouts. Controls border colors and line patterns around legend markers to create professional chart presentations and improve series identification clarity.

Definition

Constructors

C#
public ChartSeriesLegendItemMarkersBorder()

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 border color for legend item markers using any valid CSS color value. Accepts hex codes (#757575), RGB values (rgb(117, 117, 117)), named colors (gray, black), or HSL values. Use subtle colors for professional appearance or contrasting colors for enhanced marker definition in legend layouts.

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

Defines the line pattern style for legend marker borders using DashType values. Choose from "solid" for continuous borders, "dash" for dashed outlines, or other patterns to create distinctive marker styling that complements the overall chart design and legend presentation.

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