Class ColorStop
Gets or sets the color range properties for the gradient.
Inheritance
Namespace: Syncfusion.Blazor.LinearGauge
Assembly: Syncfusion.Blazor.dll
Syntax
public class ColorStop : OwningComponentBase
Constructors
ColorStop()
Declaration
public ColorStop()
Properties
Color
Gets or sets the color to the gradient.
Declaration
public string Color { get; set; }
Property Value
Type |
---|
System.String |
Offset
Gets or sets the color begin and end in percentage to the gradient.
Declaration
public string Offset { get; set; }
Property Value
Type |
---|
System.String |
Opacity
Gets or sets the opacity to the gradient.
Declaration
public double Opacity { get; set; }
Property Value
Type |
---|
System.Double |
Style
Gets or sets the style of the color stop to the gradient element.
Declaration
public string Style { get; set; }
Property Value
Type |
---|
System.String |
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. |