Class CircularGaugeTooltipSettings
Gets or sets the options for customizing the tooltip of gauge.
Inheritance
Namespace: Syncfusion.Blazor.CircularGauge
Assembly: Syncfusion.Blazor.dll
Syntax
public class CircularGaugeTooltipSettings : OwningComponentBase
Constructors
CircularGaugeTooltipSettings()
Declaration
public CircularGaugeTooltipSettings()
Properties
ChildContent
Gets or sets the content of the UI element.
Declaration
public RenderFragment ChildContent { get; set; }
Property Value
Type |
---|
Microsoft.AspNetCore.Components.RenderFragment |
Enable
Gets or sets a value indicating whether or not to enable the visibility of tooltip.
Declaration
public bool Enable { get; set; }
Property Value
Type |
---|
System.Boolean |
EnableAnimation
Gets or sets a value indicating whether or not to enable the animation to take place in circular gauge.
Declaration
public bool EnableAnimation { get; set; }
Property Value
Type |
---|
System.Boolean |
Fill
Gets or sets the fill color of the tooltip. This property accepts value in hex code, rgba string as a valid CSS color string.
Declaration
public string Fill { get; set; }
Property Value
Type |
---|
System.String |
Format
Gets or sets the format for the tooltip content in circular gauge.
Declaration
public string Format { get; set; }
Property Value
Type |
---|
System.String |
ShowAtMousePosition
Gets or sets a value indicating whether or not to enable the tooltip of the circular gauge at mouse position. By default, it set as false.
Declaration
public bool ShowAtMousePosition { get; set; }
Property Value
Type |
---|
System.Boolean |
TooltipTemplate
Gets or sets the custom template to render the tooltip content.
Declaration
public RenderFragment TooltipTemplate { get; set; }
Property Value
Type |
---|
Microsoft.AspNetCore.Components.RenderFragment |
Type
Gets or sets the options to select the type of tooltip for range, annotation and pointer.
Declaration
public string[] Type { get; set; }
Property Value
Type |
---|
System.String[] |
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. |