alexa
menu

Blazor

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

    Show / Hide Table of Contents

    Class LegendRenderingEventArgs

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

    Inheritance
    object
    MapsBaseEventArgs
    LegendRenderingEventArgs
    Inherited Members
    MapsBaseEventArgs.Cancel
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    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
    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
    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.

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