Class
ChartSeriesLegendItemHighlightMarkers

Defines the visual styling for legend item markers during hover and focus states to provide clear interactive feedback. Controls the highlighted appearance of series markers in the legend, including colors, shapes, and borders that change when users interact with legend items. Children: ChartSeriesLegendItemHighlightMarkersBorder.

Definition

Namespace:Telerik.Blazor.Components

Assembly:Telerik.Blazor.dll

Syntax:

cs-api-definition
public class ChartSeriesLegendItemHighlightMarkers : DataVizChildComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable

Inheritance: objectComponentBaseDataVizChildComponentChartSeriesLegendItemHighlightMarkers

Implements: IComponentIDisposableIHandleAfterRenderIHandleEvent

Inherited Members ComponentBase.OnInitializedAsync()ComponentBase.OnParametersSetAsync()ComponentBase.StateHasChanged()ComponentBase.ShouldRender()ComponentBase.OnAfterRenderAsync(bool)ComponentBase.InvokeAsync(Action)ComponentBase.InvokeAsync(Func<Task>)ComponentBase.DispatchExceptionAsync(Exception)ComponentBase.SetParametersAsync(ParameterView)

Constructors

ChartSeriesLegendItemHighlightMarkers()

Declaration

cs-api-definition
public ChartSeriesLegendItemHighlightMarkers()

Properties

Background

Sets the background color for legend item markers during hover or focus states using any valid CSS color value. Accepts hex codes (#FFE082), RGB values (rgb(255, 224, 130)), named colors (lightyellow, gold), or HSL values. Use brighter or contrasting colors to provide clear visual feedback during user interactions.

Declaration

cs-api-definition
[Parameter]
public string Background { get; set; }

Property Value

string

BorderRadius

Sets the border radius for highlighted legend markers in pixels when using rounded rectangle marker types. Values like 2-8 pixels create subtle rounded corners, while larger values produce more pronounced rounding effects for highlighted marker appearance.

Declaration

cs-api-definition
[Parameter]
public double? BorderRadius { get; set; }

Property Value

double?

ChildContent

Declaration

cs-api-definition
[Parameter]
public RenderFragment ChildContent { get; set; }

Property Value

RenderFragment

Type

Specifies the shape type for highlighted legend markers using ChartSeriesMarkersType values. Choose from circle, square, triangle, diamond, or other shapes to create distinctive highlighted marker appearances that enhance user interaction feedback.

Declaration

cs-api-definition
[Parameter]
public ChartSeriesMarkersType? Type { get; set; }

Property Value

ChartSeriesMarkersType?

Visible

Controls the visibility of legend item markers during highlight states. Set to true to show markers during hover/focus, false to hide them, or leave null to inherit from series marker settings. Visible highlighted markers provide clear visual feedback for user interactions.

Declaration

cs-api-definition
[Parameter]
public bool? Visible { get; set; }

Property Value

bool?

Methods

BuildRenderTree(RenderTreeBuilder)

Declaration

cs-api-definition
protected override void BuildRenderTree(RenderTreeBuilder __builder)

Parameters

__builder

RenderTreeBuilder

Overrides ComponentBase.BuildRenderTree(RenderTreeBuilder)

OnAfterRender(bool)

Declaration

cs-api-definition
protected override void OnAfterRender(bool firstRender)

Parameters

firstRender

bool

Overrides ComponentBase.OnAfterRender(bool)

OnInitialized()

Declaration

cs-api-definition
protected override void OnInitialized()

Overrides DataVizChildComponent.OnInitialized()

OnParametersSet()

Declaration

cs-api-definition
protected override void OnParametersSet()

Overrides ComponentBase.OnParametersSet()

Serialize()

Declaration

cs-api-definition
public Dictionary<string, object> Serialize()

Returns

Dictionary<string, object>