Class LabelStyle
Class to provide style for hint label and assistive labels.
Inheritance
Namespace: Syncfusion.XForms.TextInputLayout
Assembly: Syncfusion.Core.XForms.dll
Syntax
public class LabelStyle : BindableObject
Constructors
LabelStyle()
Declaration
public LabelStyle()
Fields
ColorProperty
Gets or sets the text color to SfTextInputLayout label.
Declaration
public static readonly BindableProperty ColorProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
FontAttributesProperty
Gets or sets a value that indicates whether the font for the label is bold, italic, or neither.
Declaration
public static readonly BindableProperty FontAttributesProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
FontFamilyProperty
Gets or sets the font family to which the font for the label belongs.
Declaration
public static readonly BindableProperty FontFamilyProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
FontSizeProperty
Gets or sets the size of the font for label.
Declaration
public static readonly BindableProperty FontSizeProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
Properties
Color
Gets or sets the text color of SfTextInputLayout controls label.
Declaration
public Color Color { get; set; }
Property Value
Type |
---|
Xamarin.Forms.Color |
FontAttributes
Gets or sets a value that indicates whether the font for the label is bold, italic, or neither.
Declaration
public FontAttributes FontAttributes { get; set; }
Property Value
Type |
---|
Xamarin.Forms.FontAttributes |
FontFamily
Gets or sets the font family to which the font for the label belongs.
Declaration
public string FontFamily { get; set; }
Property Value
Type |
---|
System.String |
FontSize
Gets or sets the size of the font for label.
Declaration
public double FontSize { get; set; }
Property Value
Type |
---|
System.Double |