Class ProgressBarLabelStyle
Sets and gets the options for customizing the text style of the progress bar component.
Inherited Members
Namespace: Syncfusion.Blazor.ProgressBar
Assembly: Syncfusion.Blazor.dll
Syntax
public class ProgressBarLabelStyle : SfBaseComponent
Constructors
ProgressBarLabelStyle()
Declaration
public ProgressBarLabelStyle()
Properties
Color
Sets and gets the color for the label text in the progress bar component.
Declaration
public string Color { get; set; }
Property Value
Type |
---|
System.String |
FontFamily
Sets and gets the font family for the label text in the progress bar component.
Declaration
public string FontFamily { get; set; }
Property Value
Type |
---|
System.String |
FontStyle
Sets and gets the font style for the label text in the progress bar component.
Declaration
public string FontStyle { get; set; }
Property Value
Type |
---|
System.String |
FontWeight
Sets and gets the font weight for the label text in the progress bar component.
Declaration
public string FontWeight { get; set; }
Property Value
Type |
---|
System.String |
Opacity
Sets and gets the opacity of the label text in the progress bar component.
Declaration
public double Opacity { get; set; }
Property Value
Type |
---|
System.Double |
Size
Sets and gets the size for the label text in the progress bar component.
Declaration
public string Size { get; set; }
Property Value
Type |
---|
System.String |
Text
Sets and gets the label text in the progress bar component.
Declaration
public string Text { get; set; }
Property Value
Type |
---|
System.String |
TextAlignment
Sets and gets the alignment for the label text in the progress bar component.
Declaration
public TextAlignmentType TextAlignment { get; set; }
Property Value
Type |
---|
TextAlignmentType |
Methods
OnInitializedAsync()
Method invoked when the component is ready to start.
Declaration
protected override Task OnInitializedAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | A System.Threading.Tasks.Task representing the asynchronous operation. |
Overrides
OnParametersSetAsync()
Method invoked when the component has received parameters from its parent in the render tree and the incoming values have been assigned to properties.
Declaration
protected override Task OnParametersSetAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | A System.Threading.Tasks.Task representing the asynchronous operation. |