menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class LegendItemRenderingEventArgs - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class LegendItemRenderingEventArgs

    Specifies the event arguments available when rendering each legend item in the treemap component.

    Inheritance
    System.Object
    Syncfusion.Blazor.TreeMap.BaseEventArgs
    LegendItemRenderingEventArgs
    Namespace: Syncfusion.Blazor.TreeMap
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class LegendItemRenderingEventArgs : BaseEventArgs

    Constructors

    LegendItemRenderingEventArgs()

    Declaration
    public LegendItemRenderingEventArgs()

    Properties

    Fill

    Gets or sets the shape color of the legend.

    Declaration
    public string Fill { get; set; }
    Property Value
    Type Description
    System.String

    A string representing the fill color.

    ImageUrl

    Gets or sets the URL of the legend if the shape is rendered as an image.

    Declaration
    public string ImageUrl { get; set; }
    Property Value
    Type Description
    System.String

    A string representing the image URL.

    Shape

    Gets or sets the legend shape of the TreeMap.

    Declaration
    public LegendShape Shape { get; set; }
    Property Value
    Type Description
    LegendShape

    A value from the LegendShape enumeration that specifies the shape of the legend.

    ShapeBorder

    Gets or sets the options for customizing the color and width of the shape border.

    Declaration
    public LegendShapeBorder ShapeBorder { get; set; }
    Property Value
    Type Description
    Syncfusion.Blazor.TreeMap.Internal.LegendShapeBorder

    An instance of the Syncfusion.Blazor.TreeMap.Internal.LegendShapeBorder class that specifies the options for customizing the shape border.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved