alexa
menu

Blazor

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

    Show / Hide Table of Contents

    Class SunburstLegendClickEventArgs<TItem>

    Provides data for the OnLegendClick event, which is raised when a legend item is clicked. Cancellation prevents the represented branch visibility change.

    Inheritance
    object
    SunburstLegendClickEventArgs<TItem>
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Syncfusion.Blazor.Charts
    Assembly: Syncfusion.Blazor.Charts.dll
    Syntax
    public class SunburstLegendClickEventArgs<TItem>
    Type Parameters
    Name Description
    TItem

    The type of the data item bound to the chart.

    Constructors

    SunburstLegendClickEventArgs()

    Declaration
    public SunburstLegendClickEventArgs()

    Properties

    Cancel

    Gets or sets a value indicating whether the legend item click should be canceled, preventing the represented branch visibility change.

    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 clicked.

    Declaration
    public int LegendIndex { get; set; }
    Property Value
    Type
    int

    ShapeColor

    Gets or sets the shape color of the clicked 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 clicked legend item.

    Declaration
    public string Text { get; set; }
    Property Value
    Type
    string
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved