Class LinearGaugeContainer
Defines the container axis for an axis in linear gauge component.
Inheritance
Namespace: Syncfusion.Blazor.LinearGauge
Assembly: Syncfusion.Blazor.dll
Syntax
public class LinearGaugeContainer : OwningComponentBase
Constructors
LinearGaugeContainer()
Declaration
public LinearGaugeContainer()
Properties
BackgroundColor
Gets or sets the background color of the container in linear gauge.
Declaration
public string BackgroundColor { get; set; }
Property Value
Type |
---|
System.String |
ChildContent
Gets or sets the content of the UI element.
Declaration
public RenderFragment ChildContent { get; set; }
Property Value
Type |
---|
Microsoft.AspNetCore.Components.RenderFragment |
Height
Gets or sets the height of the container in linear gauge.
Declaration
public double Height { get; set; }
Property Value
Type |
---|
System.Double |
Offset
Gets or sets the value to place the container in the linear gauge component.
Declaration
public double Offset { get; set; }
Property Value
Type |
---|
System.Double |
RoundedCornerRadius
Gets or sets the corner radius for the rounded rectangle container in linear gauge.
Declaration
public double RoundedCornerRadius { get; set; }
Property Value
Type |
---|
System.Double |
Type
Gets or sets the type of container in linear gauge.
Declaration
public ContainerType Type { get; set; }
Property Value
Type |
---|
ContainerType |
Width
Gets or sets the width of the container in linear gauge.
Declaration
public double Width { get; set; }
Property Value
Type |
---|
System.Double |
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. |