ClassChartLegendItemMarkersBorder
Configures the border styling for legend item markers in ChartLegendItemMarkers. Use this component to add definition and visual emphasis to marker boundaries by defining border color and line style. Borders help distinguish markers from the legend background and improve overall legend clarity, especially important for creating professional chart presentations.
Definition
Namespace:Telerik.Blazor.Components
Assembly:Telerik.Blazor.dll
Syntax:
public class ChartLegendItemMarkersBorder : DataVizChildComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance: objectComponentBaseDataVizChildComponentChartLegendItemMarkersBorder
Implements:
Inherited Members
Constructors
ChartLegendItemMarkersBorder()
Declaration
public ChartLegendItemMarkersBorder()
Properties
ChildContent
Declaration
[Parameter]
public RenderFragment ChildContent { get; set; }
Property Value
Color
Sets the border color for legend item markers. Accepts any valid CSS color including hex codes (#666666), RGB values (rgb(102,102,102)), named colors (gray), or HSL values. Marker borders help define marker shapes and create visual distinction between markers and the legend background, improving overall legend clarity and readability.
DashType
Defines the line style pattern for legend item marker borders using DashType values. Choose from various patterns: Solid for continuous borders, Dash for dashed outlines, Dot for dotted borders, DashDot for alternating dashes and dots, LongDash for longer dash segments, LongDashDot for long dashes with dots, and LongDashDotDot for complex patterns. Different patterns help distinguish marker types or series categories.
Declaration
[Parameter]
public DashType? DashType { 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