Class LinearGaugeBorderSettings
Defines the options for customizing the color and width of the gauge border.
Inheritance
Namespace: Syncfusion.Blazor.LinearGauge
Assembly: Syncfusion.Blazor.dll
Syntax
public class LinearGaugeBorderSettings : OwningComponentBase
Constructors
LinearGaugeBorderSettings()
Declaration
public LinearGaugeBorderSettings()
Properties
Color
Gets or sets the color of the border. This property accepts value in hex code, rgba string as a valid CSS color string.
Declaration
public string Color { get; set; }
Property Value
Type | Description |
---|---|
System.String | A System.String specifying the color of the border. Default is determined by the gauge's theme. |
Remarks
The color property allows a variety of CSS color formats for flexibility in styling.
DashArray
Gets or sets the dash-array of the border.
Declaration
public string DashArray { get; set; }
Property Value
Type | Description |
---|---|
System.String | A System.String specifying the dash pattern for the border. |
Remarks
DashArray enables dashed border effects, enhancing custom border design flexibility.
Width
Gets or sets the width of the border.
Declaration
public double Width { get; set; }
Property Value
Type | Description |
---|---|
System.Double | A System.Double representing the border width in pixels. |
Remarks
The width property configures the thickness of the border, offering visual prominence to the gauge's boundaries.
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 |
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. |