Telerik UI ChartLegendTitlePadding.
Definition
Namespace:Telerik.Blazor.Components
Assembly:Telerik.Blazor.dll
Syntax:
public class ChartLegendTitlePadding : DataVizChildComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance: objectComponentBaseDataVizChildComponentChartLegendTitlePadding
Implements:
Inherited Members
Constructors
public ChartLegendTitlePadding()
Methods
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Overrides:
protected override void OnInitialized()
Overrides:
protected override void OnParametersSet()
Overrides:
Properties
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.
[Parameter]
public double? Bottom { get; set; }
[Parameter]
public RenderFragment ChildContent { get; set; }
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.
[Parameter]
public double? Left { get; set; }
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.
[Parameter]
public double? Right { get; set; }
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.
[Parameter]
public double? Top { get; set; }