Class
ChartLegendTitlePadding

Telerik UI ChartLegendTitlePadding.

Definition

Constructors

ChartLegendTitlePadding()

Declaration

cs-api-definition
public ChartLegendTitlePadding()

Properties

Bottom

Sets the bottom padding space inside the legend title in pixels. This creates internal spacing between the title text and the bottom edge of the title background or border. Use values like 3-10 pixels to improve text readability and visual appearance, especially when titles have backgrounds, borders, or custom styling.

Declaration

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

Property Value

double?

ChildContent

Declaration

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

Property Value

RenderFragment

Left

Sets the left padding space inside the legend title in pixels. Creates internal spacing between the title text and the left edge of the title background or border. Common values are 3-10 pixels to ensure text doesn't touch title boundaries and maintains proper readability within the legend context.

Declaration

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

Property Value

double?

Right

Sets the right padding space inside the legend title in pixels. This creates internal spacing between the title text and the right edge of the title background or border. Use values like 3-10 pixels to provide proper text spacing, especially important for titles with background colors or borders.

Declaration

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

Property Value

double?

Top

Sets the top padding space inside the legend title in pixels. Creates internal spacing between the title text and the top edge of the title background or border. Standard values range from 3-10 pixels to improve text presentation and prevent text from touching title boundaries in legend layouts.

Declaration

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

Property Value

double?

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>