Class LegendRenderingEventArgs
Specifies the event arguments for the legend rendering event in maps.
Inherited Members
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.