menu

Blazor

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

    Show / Hide Table of Contents

    Class LegendRenderingEventArgs

    Specifies the event arguments for the legend rendering event in maps.

    Inheritance
    System.Object
    MapsBaseEventArgs
    LegendRenderingEventArgs
    Inherited Members
    MapsBaseEventArgs.Cancel
    Namespace: Syncfusion.Blazor.Maps
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class LegendRenderingEventArgs : MapsBaseEventArgs

    Constructors

    LegendRenderingEventArgs()

    Declaration
    public LegendRenderingEventArgs()

    Properties

    Fill

    Gets or sets the color for the legend shape.

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

    A string value representing the legend's fill color.

    Remarks

    Assign a color to highlight or indicate the significance of the legend item's shape.

    Shape

    Gets or sets the legend shape.

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

    One of the LegendShape enumeration values representing the shape of the legend.

    Remarks

    Specify a predefined shape to visually represent legend items on the map.

    Text

    Gets or sets the text for the legend.

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

    A string value representing the legend's text content.

    Remarks

    Use this property to provide descriptive or categorical information related to the legend item.

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