Class LabelStyle
Represents the class to provide the font size and attributes for the given label.
Inheritance
System.Object
LabelStyle
Namespace: Syncfusion.XForms.DataForm
Assembly: Syncfusion.SfDataForm.XForms.dll
Syntax
public class LabelStyle : BindableObject
Constructors
LabelStyle()
Initializes a new instance of the LabelStyle class.
Declaration
public LabelStyle()
Properties
FontAttributes
Gets or sets the font attribute property for label style to customize the displaying font attribute of the label.
Declaration
public FontAttributes FontAttributes { get; set; }
Property Value
Type |
---|
Xamarin.Forms.FontAttributes |
FontFamily
Gets or sets the font family property for label style to customize the default font family of the displaying label.
Declaration
public string FontFamily { get; set; }
Property Value
Type |
---|
System.String |
FontSize
Gets or sets the font size property for label style to customize the default font size of the displaying label.
Declaration
public double FontSize { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The size of the label text. |