Class CircularGaugeCap
Defines the configuration for the cap of the needle pointer in an axis of the circular gauge.
Inheritance
Namespace: Syncfusion.Blazor.CircularGauge
Assembly: Syncfusion.Blazor.dll
Syntax
public class CircularGaugeCap : OwningComponentBase
Constructors
CircularGaugeCap()
Declaration
public CircularGaugeCap()
Properties
ChildContent
Gets or sets the content of the UI element.
Declaration
public RenderFragment ChildContent { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.RenderFragment | A Microsoft.AspNetCore.Components.RenderFragment representing the child content of the UI element. |
Remarks
This property is used to define custom content within the UI element.
Color
Gets or sets the color for the pointer cap in the circular gauge component.
Declaration
public string Color { get; set; }
Property Value
Type | Description |
---|---|
System.String | A System.String specifying the color of the pointer cap. |
Remarks
The color of the cap can be defined using standard CSS color values.
Radius
Gets or sets the radius of the pointer cap in the circular gauge component.
Declaration
public double Radius { get; set; }
Property Value
Type | Description |
---|---|
System.Double | A System.Double specifying the radius of the cap. The default value is |
Remarks
The radius determines the size of the pointer cap.
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder | __builder |
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. |