Class SunburstLegendLabelStyle
Represents the Sunburst legend label style. To render this, create an instance SunburstLegendLabelStyle and set required properties.
Inheritance
Namespace: Syncfusion.SfSunburstChart.XForms
Assembly: Syncfusion.SfSunburstChart.XForms.dll
Syntax
public class SunburstLegendLabelStyle : Element, IThemeElement
Constructors
SunburstLegendLabelStyle()
Initializes a new instance of the SunburstLegendLabelStyle class.
Declaration
public SunburstLegendLabelStyle()
Fields
FontAttributesProperty
Gets or sets the FontAttributes property, which is used to set font attributes for the legend labels. This is a bindable property.
Declaration
public static readonly BindableProperty FontAttributesProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
FontFamilyProperty
Gets or sets the FontFamily property, which is used to set font family for the legend label. This is a bindable property.
Declaration
public static readonly BindableProperty FontFamilyProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
FontSizeProperty
Gets or sets the FontSize property, which is used to set the size of the font for legend labels. This is a bindable property.
Declaration
public static readonly BindableProperty FontSizeProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
MarginProperty
Gets or sets the Margin Property, which is used to set margin for legend items. This is a bindable property.
Declaration
public static readonly BindableProperty MarginProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
TextColorProperty
Gets or sets the TextColor property, which is used to set the color for legend labels. This is a bindable property.
Declaration
public static readonly BindableProperty TextColorProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
Properties
FontAttributes
Gets or sets the FontAttributes property, which is used to set font attributes for the legend labels. This is a bindable property.
Declaration
public FontAttributes FontAttributes { get; set; }
Property Value
Type |
---|
Xamarin.Forms.FontAttributes |
FontFamily
Gets or sets the FontFamily property, which is used to set font family 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 FontSize property, which is used to set the size of the font for legend labels. This is a bindable property.
Declaration
public double FontSize { get; set; }
Property Value
Type |
---|
System.Double |
Margin
Gets or sets the Margin Property, which is used to set margin for legend items. 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 TextColor property, which is used to set the color for legend labels. 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. |