Class LinearGaugeRadialGradient
Defines the radial gradient color settings for the axis in a linear gauge.
Inheritance
Inherited Members
Namespace: Syncfusion.Blazor.LinearGauge
Assembly: Syncfusion.Blazor.dll
Syntax
public class LinearGaugeRadialGradient : SfOwningComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Constructors
LinearGaugeRadialGradient()
Declaration
public LinearGaugeRadialGradient()
Properties
Radius
Gets or sets the radius of the radial gradient.
Declaration
[Parameter]
public string Radius { get; set; }
Property Value
| Type | Description |
|---|---|
| string | A string specifying the radius of the gradient, often represented as a percentage (e.g., "0%"). |
Remarks
Adjust the radius to control the size and spread of the radial gradient applied to the gauge axis.
Methods
Dispose(bool)
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 |
|---|---|---|
| bool | disposing |
Overrides
OnInitializedAsync()
OnInitializedAsync method is called when the component has received its initial parameters.
Declaration
protected override Task OnInitializedAsync()
Returns
| Type | Description |
|---|---|
| Task | Task representing the asynchronous operation. |
Overrides
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 |
|---|---|
| Task | Task representing the asynchronous operation. |