Class StepTextStyle
Represents the text style of the step progress.
Inheritance
Namespace: Syncfusion.Maui.ProgressBar
Assembly: Syncfusion.Maui.ProgressBar.dll
Syntax
public class StepTextStyle : Element, IThemeElement, ITextElement
Constructors
StepTextStyle()
Initializes a new instance of the StepSettings class.
Declaration
public StepTextStyle()
Fields
FontAttributesProperty
Identifies the FontAttributes dependency property.
Declaration
public static readonly BindableProperty FontAttributesProperty
Field Value
Type | Description |
---|---|
Microsoft.Maui.Controls.BindableProperty | The identifier for FontAttributes dependency property. |
FontAutoScalingEnabledProperty
Identifies the FontAutoScalingEnabled bindable property.
Declaration
public static readonly BindableProperty FontAutoScalingEnabledProperty
Field Value
Type | Description |
---|---|
Microsoft.Maui.Controls.BindableProperty | The identifier for FontAutoScalingEnabled bindable property. |
FontFamilyProperty
Identifies the FontFamily dependency property.
Declaration
public static readonly BindableProperty FontFamilyProperty
Field Value
Type | Description |
---|---|
Microsoft.Maui.Controls.BindableProperty | The identifier for FontFamily dependency property. |
FontSizeProperty
Identifies the FontSize dependency property.
Declaration
public static readonly BindableProperty FontSizeProperty
Field Value
Type | Description |
---|---|
Microsoft.Maui.Controls.BindableProperty | The identifier for FontSize dependency property. |
TextColorProperty
Identifies the TextColor dependency property.
Declaration
public static readonly BindableProperty TextColorProperty
Field Value
Type | Description |
---|---|
Microsoft.Maui.Controls.BindableProperty | The identifier for TextColor dependency property. |
Properties
FontAttributes
Gets or sets the font attributes of the text style.
Declaration
public FontAttributes FontAttributes { get; set; }
Property Value
Type |
---|
Microsoft.Maui.Controls.FontAttributes |
FontAutoScalingEnabled
Gets or sets a value that Determines whether or not the font of the control should scale automatically according to the operating system settings.
Declaration
public bool FontAutoScalingEnabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | It accepts Boolean values, and the default value is false. |
FontFamily
Gets or sets the font family of the text style.
Declaration
public string FontFamily { get; set; }
Property Value
Type |
---|
System.String |
FontSize
Gets or sets the font size of the text style.
Declaration
public double FontSize { get; set; }
Property Value
Type |
---|
System.Double |
TextColor
Gets or sets the text color of the text style.
Declaration
public Color TextColor { get; set; }
Property Value
Type |
---|
Microsoft.Maui.Graphics.Color |