alexa
menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class SunburstLegendBorder

    Configures the border settings of the Sunburst chart legend.

    Inheritance
    object
    ComponentBase
    SunburstLegendBorder
    Implements
    IComponent
    IHandleEvent
    IHandleAfterRender
    Inherited Members
    ComponentBase.Assets
    ComponentBase.AssignedRenderMode
    ComponentBase.BuildRenderTree(RenderTreeBuilder)
    ComponentBase.DispatchExceptionAsync(Exception)
    ComponentBase.InvokeAsync(Action)
    ComponentBase.InvokeAsync(Func<Task>)
    ComponentBase.OnAfterRender(bool)
    ComponentBase.OnAfterRenderAsync(bool)
    ComponentBase.OnInitialized()
    ComponentBase.OnInitializedAsync()
    ComponentBase.OnParametersSet()
    ComponentBase.OnParametersSetAsync()
    ComponentBase.RendererInfo
    ComponentBase.SetParametersAsync(ParameterView)
    ComponentBase.ShouldRender()
    ComponentBase.StateHasChanged()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Syncfusion.Blazor.Charts
    Assembly: Syncfusion.Blazor.Charts.dll
    Syntax
    public class SunburstLegendBorder : ComponentBase, IComponent, IHandleEvent, IHandleAfterRender
    Remarks

    The SunburstLegendBorder component provides options for customizing the appearance of the border displayed around the legend.

    Use this component to control the border color and width, helping the legend stand out from the surrounding chart content.

    Examples
    <SfSunburstChart>
        <SunburstLegendSettings Visible="true">
            <SunburstLegendBorder Color="#808080" Width="1" />
        </SunburstLegendSettings>
    </SfSunburstChart>

    Constructors

    SunburstLegendBorder()

    Declaration
    public SunburstLegendBorder()

    Properties

    Color

    Gets or sets the color of the legend border.

    Declaration
    [Parameter]
    public string Color { get; set; }
    Property Value
    Type Description
    string

    A string that specifies the color of the legend border. The default value is "transparent".

    Remarks

    This property controls the color of the border displayed around the legend.

    The color can be specified using standard CSS color formats, such as named colors, hexadecimal values, RGB values, and RGBA values.

    Examples
    <SfSunburstChart>
        <SunburstLegendSettings>
            <SunburstLegendBorder Color="red" />
        </SunburstLegendSettings>
    </SfSunburstChart>

    Width

    Gets or sets the width of the legend border.

    Declaration
    [Parameter]
    public double Width { get; set; }
    Property Value
    Type Description
    double

    A double value that specifies the width of the legend border, in pixels. The default value is 0.

    Remarks

    This property controls the thickness of the border displayed around the legend.

    Set the value to 0 to hide the legend border. Increasing the value makes the border thicker and more prominent.

    Examples
    <SfSunburstChart>
        <SunburstLegendSettings Visible="true">
            <SunburstLegendBorder Color="#808080" Width="1" />
        </SunburstLegendSettings>
    </SfSunburstChart>

    Implements

    IComponent
    IHandleEvent
    IHandleAfterRender
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved