alexa
Syncfusion
menu Syncfusion

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Interface ILegendItem

    This interface contains the legend item elements.

    Namespace: Syncfusion.Maui.Core
    Assembly: Syncfusion.Maui.Core.dll
    Syntax
    public interface ILegendItem

    Properties

    DisableBrush

    Gets or sets the legend icon and text disable color when toggled.

    Declaration
    Brush DisableBrush { get; set; }
    Property Value
    Type
    Brush

    FontAttributes

    Gets or sets the font family name for the legend item label.

    Declaration
    FontAttributes FontAttributes { get; set; }
    Property Value
    Type
    FontAttributes

    FontFamily

    Gets or sets the font family name for the legend item label.

    Declaration
    string FontFamily { get; set; }
    Property Value
    Type
    string

    FontSize

    Gets or sets the font size for the legend label text.

    Declaration
    float FontSize { get; set; }
    Property Value
    Type Description
    float

    This property takes float value.

    IconBrush

    Gets or sets the corresponding icon color for legend item.

    Declaration
    Brush IconBrush { get; set; }
    Property Value
    Type
    Brush

    IconHeight

    Gets or sets the height of the legend icon.

    Declaration
    double IconHeight { get; set; }
    Property Value
    Type Description
    double

    This property takes double value.

    IconType

    Gets or sets the icon type in legend.

    Declaration
    ShapeType IconType { get; set; }
    Property Value
    Type
    ShapeType

    IconWidth

    Gets or sets the width of the legend icon.

    Declaration
    double IconWidth { get; set; }
    Property Value
    Type Description
    double

    This property takes double value.

    Index

    Gets the corresponding index for legend item.

    Declaration
    int Index { get; }
    Property Value
    Type
    int

    IsIconVisible

    Gets or sets a value indicating whether to display the legend icon.

    Declaration
    bool IsIconVisible { get; set; }
    Property Value
    Type
    bool

    IsToggled

    Gets or sets a value indicating whether the legend item is toggled or not.

    Declaration
    bool IsToggled { get; set; }
    Property Value
    Type
    bool

    Item

    Gets the corresponding data point for series.

    Declaration
    object? Item { get; }
    Property Value
    Type
    object

    Text

    Gets or sets the corresponding label for legend item.

    Declaration
    string Text { get; set; }
    Property Value
    Type
    string

    TextColor

    Gets or sets the corresponding text color for legend item.

    Declaration
    Color TextColor { get; set; }
    Property Value
    Type
    Color

    TextMargin

    Gets or sets the margin of the legend text.

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