Class SunburstLegendItemRenderingEventArgs<TItem>
Provides data for the LegendItemRendering event, which is raised before a legend item is rendered.
Inherited Members
Namespace: Syncfusion.Blazor.Charts
Assembly: Syncfusion.Blazor.Charts.dll
Syntax
public class SunburstLegendItemRenderingEventArgs<TItem>
Type Parameters
| Name | Description |
|---|---|
| TItem | The type of the data item bound to the chart. |
Constructors
SunburstLegendItemRenderingEventArgs()
Declaration
public SunburstLegendItemRenderingEventArgs()
Properties
Cancel
Gets or sets a value indicating whether the legend item should be canceled from rendering.
Declaration
public bool Cancel { get; set; }
Property Value
| Type |
|---|
| bool |
EventName
Gets the canonical name of the event.
Declaration
public string EventName { get; }
Property Value
| Type |
|---|
| string |
LegendIndex
Gets or sets the index of the legend item being rendered.
Declaration
public int LegendIndex { get; }
Property Value
| Type |
|---|
| int |
ShapeColor
Gets or sets the shape color of the legend item.
Declaration
public string ShapeColor { get; set; }
Property Value
| Type |
|---|
| string |
Source
Gets the original source data item represented by the legend item.
Declaration
public TItem? Source { get; }
Property Value
| Type |
|---|
| TItem |
Text
Gets or sets the text of the legend item.
Declaration
public string Text { get; set; }
Property Value
| Type |
|---|
| string |
TextColor
Gets or sets the text color of the legend item.
Declaration
public string TextColor { get; set; }
Property Value
| Type |
|---|
| string |