Class LinearGaugeMarkerTextStyle
Sets and gets the style of text in pointer of an axis.
Inheritance
Namespace: Syncfusion.Blazor.LinearGauge
Assembly: Syncfusion.Blazor.dll
Syntax
public class LinearGaugeMarkerTextStyle : OwningComponentBase
Constructors
LinearGaugeMarkerTextStyle()
Declaration
public LinearGaugeMarkerTextStyle()
Properties
FontFamily
Defines the font-family of the text pointer. The default value of this property varies based on the Theme property value set in the Linear Gauge.
Declaration
public string FontFamily { get; set; }
Property Value
Type | Description |
---|---|
System.String | Accepts the string value which represents the font-family as in HTML elements. |
Remarks
The property is used to change the font-family of the text pointer. This property takes the value as in the font-family CSS style of HTML element.
FontStyle
Gets or sets the font-style of the text pointer.
Declaration
public string FontStyle { get; set; }
Property Value
Type | Description |
---|---|
System.String | Accepts the string value which represents the font-style as in HTML elements. |
Remarks
The property is used to change the font-style of the text pointer. This property takes the value as in the font-style CSS style of HTML element.
FontWeight
Gets or sets the font-weight of the text pointer.
Declaration
public string FontWeight { get; set; }
Property Value
Type | Description |
---|---|
System.String | Accepts the string value which represents the font-weight as in HTML elements. |
Remarks
The property is used to change the font-weight of the text pointer. This property takes the value as in the font-weight CSS style of HTML element.
Size
Gets or sets the font-size of the text pointer.
Declaration
public string Size { get; set; }
Property Value
Type | Description |
---|---|
System.String | Accepts the string value that represents the font size. |
Remarks
The property is used to change the font-size of the text pointer.This property takes the value as in the font-size CSS style of HTML element which normally holds pixel values.
Methods
Dispose(Boolean)
Disposes the property values during the destroy of the component that is hold up for the execution of the component.
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing |
OnInitializedAsync()
OnInitializedAsync method is called when the component has received its initial parameters.
Declaration
protected override Task OnInitializedAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | System.Threading.Tasks.Task representing the asynchronous operation. |
OnParametersSetAsync()
OnParametersSetAsync is a lifecycle method that is invoked when the component has received parameters, and the incoming values have been assigned to the properties.
Declaration
protected override Task OnParametersSetAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | System.Threading.Tasks.Task representing the asynchronous operation. |