Class GaugeBase. Implements the RadzenComponent
IComponent
IHandleEvent
IHandleAfterRender
RadzenComponent.GetComponentCssClass
RadzenComponent.RaiseContextMenu
RadzenComponent.RaiseMouseEnter
RadzenComponent.AddContextMenu
RadzenComponent.RaiseMouseLeave
RadzenComponent.OnBecameInvisible
RadzenComponent.DefaultCulture
RadzenComponent.IsJSRuntimeAvailable
ComponentBase.BuildRenderTree
ComponentBase.OnInitializedAsync
ComponentBase.OnParametersSet
ComponentBase.OnParametersSetAsync
ComponentBase.StateHasChanged
ComponentBase.ShouldRender
ComponentBase.OnAfterRender
ComponentBase.InvokeAsync
ComponentBase.DispatchExceptionAsync
ComponentBase.RendererInfo
ComponentBase.Assets
ComponentBase.AssignedRenderMode
Namespace: Radzen.Blazor
Assembly: Radzen.Blazor.dll
public abstract class GaugeBase : RadzenComponent, IComponent, IHandleEvent, IHandleAfterRenderGets or sets the child content.
public RenderFragment ChildContent { get; set; }
| Type | Description |
|---|---|
| RenderFragment | Gets or sets the child content. |
Gets or sets the height.
public double? Height { get; set; }
| Type | Description |
|---|---|
| double? | Gets or sets the height. |
Gets or sets the width.
public double? Width { get; set; }
| Type | Description |
|---|---|
| double? | Gets or sets the width. |
On after render as an asynchronous operation.
protected override Task OnAfterRenderAsync(bool firstRender)
| Type | Name | Description |
|---|---|---|
| bool | firstRender | if set to true [first render]. |
| Type | Description |
|---|---|
| Task | A Task representing the asynchronous operation. |
Resizes the specified width.
public void Resize(double width, double height)
| Type | Name | Description |
|---|---|---|
| double | width | The width. |
| double | height | The height. |
Set parameters as an asynchronous operation.
public override Task SetParametersAsync(ParameterView parameters)
| Type | Name | Description |
|---|---|---|
| ParameterView | parameters | The parameters. |
| Type | Description |
|---|---|
| Task | A Task representing the asynchronous operation. |
Updates the right-to-left state when the document direction changes. Called from JavaScript via a MutationObserver watching the html element's dir attribute.
public void SetRTL(bool isRTL)
| Type | Name | Description |
|---|---|---|
| bool | isRTL |