Class ChartLegendLabelStyle
This class is used to customize the appearance of label displayed in the ChartLegend.
Inheritance
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 |
---|
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 |
---|
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 |
---|
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 |
---|
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 |
---|
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 |
---|
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 |
---|
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 |
---|
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 |
---|
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. |