Class FontSettings
Sets and gets the options for customizing the font style.
Inherited Members
Namespace: Syncfusion.Blazor.Charts
Assembly: Syncfusion.Blazor.dll
Syntax
public class FontSettings : SfBaseComponent
Constructors
FontSettings()
Declaration
public FontSettings()
Properties
Color
Sets and gets the color for the text.
Declaration
public string Color { get; set; }
Property Value
Type |
---|
System.String |
FontFamily
Sets and gets the font family for the text.
Declaration
public string FontFamily { get; set; }
Property Value
Type |
---|
System.String |
FontStyle
Sets and gets the font style for the text.
Declaration
public string FontStyle { get; set; }
Property Value
Type |
---|
System.String |
FontWeight
Sets and gets the font weight for the text.
Declaration
public string FontWeight { get; set; }
Property Value
Type |
---|
System.String |
Opacity
Sets and gets the opacity for the text.
Declaration
public double Opacity { get; set; }
Property Value
Type |
---|
System.Double |
Size
Sets and gets the font size for the text.
Declaration
public string Size { get; set; }
Property Value
Type |
---|
System.String |
Methods
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. |