Class BarcodeTextStyle
The BarcodeTextStyle represents the style of barcode text, that used to customize text color, size, font family and font attribute.
Inheritance
Namespace: Syncfusion.Maui.Barcode
Assembly: Syncfusion.Maui.Barcode.dll
Syntax
public class BarcodeTextStyle : Element, ITextElement, IThemeElement
Constructors
BarcodeTextStyle()
Initializes a new instance of the BarcodeTextStyle class.
Declaration
public BarcodeTextStyle()
Fields
FontAttributesProperty
Identifies the FontAttributes bindable property.
Declaration
public static readonly BindableProperty FontAttributesProperty
Field Value
Type | Description |
---|---|
Microsoft.Maui.Controls.BindableProperty | The identifier for FontAttributes bindable property. |
FontFamilyProperty
Identifies the FontFamily bindable property.
Declaration
public static readonly BindableProperty FontFamilyProperty
Field Value
Type | Description |
---|---|
Microsoft.Maui.Controls.BindableProperty | The identifier for FontFamily bindable property. |
FontSizeProperty
Identifies the FontSize bindable property.
Declaration
public static readonly BindableProperty FontSizeProperty
Field Value
Type | Description |
---|---|
Microsoft.Maui.Controls.BindableProperty | The identifier for FontSize bindable property. |
TextColorProperty
Identifies the TextColor bindable property.
Declaration
public static readonly BindableProperty TextColorProperty
Field Value
Type | Description |
---|---|
Microsoft.Maui.Controls.BindableProperty | The identifier for TextColor bindable property. |
Properties
FontAttributes
Gets or sets FontAttributes of barcode text.
Declaration
public FontAttributes FontAttributes { get; set; }
Property Value
Type |
---|
Microsoft.Maui.Controls.FontAttributes |
FontFamily
Gets or sets string, that represents font family of barcode text.
Declaration
public string FontFamily { get; set; }
Property Value
Type |
---|
System.String |
FontSize
Gets or sets double value that represents size of barcode text.
Declaration
public double FontSize { get; set; }
Property Value
Type |
---|
System.Double |
TextColor
Gets or sets Color, that represents the barcode text color.
Declaration
public Color TextColor { get; set; }
Property Value
Type |
---|
Microsoft.Maui.Graphics.Color |