Class ColorStop
Defines the color range properties for the gradient.
Inheritance
System.Object
Syncfusion.Blazor.SfBaseComponent
ColorStop
Namespace: Syncfusion.Blazor.LinearGauge
Assembly: Syncfusion.Blazor.dll
Syntax
public class ColorStop : SfBaseComponent
Constructors
ColorStop()
Declaration
public ColorStop()
Properties
Color
Defines the color to be used in the gradient.
Declaration
public string Color { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Offset
Defines the gradient color begin and end in percentage
Declaration
public string Offset { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Opacity
Defines the opacity to be used in the gradient.
Declaration
public double Opacity { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Style
Defines the style of the color stop in the gradient element.
Declaration
public string Style { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
OnInitializedAsync()
Declaration
protected override Task OnInitializedAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task |
Overrides
Syncfusion.Blazor.SfBaseComponent.OnInitializedAsync()
OnParametersSetAsync()
Declaration
protected override Task OnParametersSetAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task |