GaugeBase Class

Class GaugeBase. Implements the RadzenComponent

Inheritance

Implements

IComponent

IHandleEvent

IHandleAfterRender

Namespace: Radzen.Blazor

Assembly: Radzen.Blazor.dll

Syntax

public abstract class GaugeBase : RadzenComponent, IComponent, IHandleEvent, IHandleAfterRender

Constructors

GaugeBaselink

Class GaugeBase. Implements the RadzenComponent

Declaration
protected GaugeBase()

Properties

ChildContentlink

Gets or sets the child content.

Declaration
public RenderFragment ChildContent { get; set; }
Property Value
Type Description
RenderFragmentGets or sets the child content.

Heightlink

Gets or sets the height.

Declaration
public double? Height { get; set; }
Property Value
Type Description
double?Gets or sets the height.

Widthlink

Gets or sets the width.

Declaration
public double? Width { get; set; }
Property Value
Type Description
double?Gets or sets the width.

Methods

Disposelink

Disposes this instance.

Declaration
public override void Dispose()

OnAfterRenderAsynclink

On after render as an asynchronous operation.

Declaration
protected override Task OnAfterRenderAsync(bool firstRender)
Parameters
Type Name Description
bool firstRender if set to true [first render].
Returns
Type Description
TaskA Task representing the asynchronous operation.

OnInitializedlink

Called when [initialized].

Declaration
protected override void OnInitialized()

Reloadlink

Reloads this instance.

Declaration
public void Reload()

Resizelink

Resizes the specified width.

Declaration
public void Resize(double width, double height)
Parameters
Type Name Description
double width The width.
double height The height.

SetParametersAsynclink

Set parameters as an asynchronous operation.

Declaration
public override Task SetParametersAsync(ParameterView parameters)
Parameters
Type Name Description
ParameterView parameters The parameters.
Returns
Type Description
TaskA Task representing the asynchronous operation.

SetRTLlink

Updates the right-to-left state when the document direction changes. Called from JavaScript via a MutationObserver watching the html element's dir attribute.

Declaration
public void SetRTL(bool isRTL)
Parameters
Type Name Description
bool isRTL
An error has occurred. This app may no longer respond until reloaded. Reload 🗙