Class SunburstSegmentRenderingEventArgs<TItem>
Provides data for the SegmentRendering event, which is raised before a Sunburst chart segment is rendered.
Inherited Members
Namespace: Syncfusion.Blazor.Charts
Assembly: Syncfusion.Blazor.Charts.dll
Syntax
public class SunburstSegmentRenderingEventArgs<TItem>
Type Parameters
| Name | Description |
|---|---|
| TItem | The type of the data item bound to the chart. |
Constructors
SunburstSegmentRenderingEventArgs()
Declaration
public SunburstSegmentRenderingEventArgs()
Properties
Cancel
Gets or sets a value indicating whether the segment should be canceled from rendering.
Declaration
public bool Cancel { get; set; }
Property Value
| Type |
|---|
| bool |
Color
Gets or sets the fill color of the segment.
Declaration
public string Color { get; set; }
Property Value
| Type |
|---|
| string |
EventName
Gets the canonical name of the event.
Declaration
public string EventName { get; }
Property Value
| Type |
|---|
| string |
LevelIndex
Gets the index of the hierarchy level being rendered.
Declaration
public int LevelIndex { get; }
Property Value
| Type |
|---|
| int |
RootLabel
Gets the label of the root segment that owns the rendered segment.
Declaration
public string RootLabel { get; }
Property Value
| Type |
|---|
| string |
Source
Gets the original source data item that produced the rendered segment, or the default value when the segment represents the synthetic root.
Declaration
public TItem? Source { get; }
Property Value
| Type |
|---|
| TItem |