menu

Xamarin.Forms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ChartLegendLabelStyle - API Reference

    Show / Hide Table of Contents

    Class ChartLegendLabelStyle

    This class is used to customize the appearance of label displayed in the ChartLegend.

    Inheritance
    System.Object
    ChartLegendLabelStyle
    Namespace: Syncfusion.SfChart.XForms
    Assembly: Syncfusion.SfChart.XForms.dll
    Syntax
    public class ChartLegendLabelStyle : Element, IThemeElement

    Constructors

    ChartLegendLabelStyle()

    Initializes a new instance of the ChartLegendLabelStyle class.

    Declaration
    public ChartLegendLabelStyle()

    Fields

    FontAttributesProperty

    Gets or sets the font style for the legend label. This is a bindable property.

    Declaration
    public static readonly BindableProperty FontAttributesProperty
    Field Value
    Type Description
    Xamarin.Forms.BindableProperty

    FontFamilyProperty

    Gets or sets the font family name for the legend label. This is a bindable property.

    Declaration
    public static readonly BindableProperty FontFamilyProperty
    Field Value
    Type Description
    Xamarin.Forms.BindableProperty

    FontProperty

    Gets or sets the Font for the legend label. This is a bindable property.

    Declaration
    public static readonly BindableProperty FontProperty
    Field Value
    Type Description
    Xamarin.Forms.BindableProperty

    FontSizeProperty

    Gets or sets the font size for the legend label. This is a bindable property.

    Declaration
    public static readonly BindableProperty FontSizeProperty
    Field Value
    Type Description
    Xamarin.Forms.BindableProperty

    MarginProperty

    Gets or sets the margin of the legend label. This is a bindable property.

    Declaration
    public static readonly BindableProperty MarginProperty
    Field Value
    Type Description
    Xamarin.Forms.BindableProperty

    TextColorProperty

    Gets or sets the text color of the legend items. This is a bindable property.

    Declaration
    public static readonly BindableProperty TextColorProperty
    Field Value
    Type Description
    Xamarin.Forms.BindableProperty

    Properties

    Font

    Gets or sets the Font for the legend label. This is a bindable property.

    Declaration
    public Font Font { get; set; }
    Property Value
    Type Description
    Xamarin.Forms.Font

    This property takes the Font value.

    FontAttributes

    Gets or sets the font style for the legend label. This is a bindable property.

    Declaration
    public FontAttributes FontAttributes { get; set; }
    Property Value
    Type Description
    Xamarin.Forms.FontAttributes

    FontFamily

    Gets or sets the font family name for the legend label. This is a bindable property.

    Declaration
    public string FontFamily { get; set; }
    Property Value
    Type Description
    System.String

    FontSize

    Gets or sets the font size for the legend label. This is a bindable property.

    Declaration
    public float FontSize { get; set; }
    Property Value
    Type Description
    System.Single

    Margin

    Gets or sets the margin of the legend label. This is a bindable property.

    Declaration
    public Thickness Margin { get; set; }
    Property Value
    Type Description
    Xamarin.Forms.Thickness

    This property takes the Xamarin.Forms.Thickness value.

    TextColor

    Gets or sets the text color of the legend items. This is a bindable property.

    Declaration
    public Color TextColor { get; set; }
    Property Value
    Type Description
    Xamarin.Forms.Color

    This property takes the Xamarin.Forms.Color value.

    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved