Class MapsLayerTooltipSettings
Gets or sets the options for customizing the tooltip of the Maps component.
Inheritance
Inherited Members
Namespace: Syncfusion.Blazor.Maps
Assembly: Syncfusion.Blazor.dll
Syntax
public class MapsLayerTooltipSettings : MapsTooltipSettings, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Constructors
MapsLayerTooltipSettings()
Declaration
public MapsLayerTooltipSettings()
Properties
ChildContent
Gets or sets the content of the UI element.
Declaration
[Parameter]
public RenderFragment ChildContent { get; set; }
Property Value
| Type | Description |
|---|---|
| RenderFragment | A RenderFragment representing the child content. |
Remarks
This property allows for defining custom content within the tooltip settings.
TooltipTemplate
Gets or sets the custom template for the tooltip content.
Declaration
[Parameter]
public RenderFragment<object> TooltipTemplate { get; set; }
Property Value
| Type | Description |
|---|---|
| RenderFragment<object> | A RenderFragment<TValue> that represents the tooltip template. |
Remarks
Use this property to customize the display of tooltip content through a template.
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
| Type | Name | Description |
|---|---|---|
| RenderTreeBuilder | __builder |
Overrides
Dispose(bool)
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 |
|---|---|---|
| bool | disposing |
Overrides
OnInitializedAsync()
OnInitializedAsync method is called when the component has received its initial parameters.
Declaration
protected override Task OnInitializedAsync()
Returns
| Type | Description |
|---|---|
| Task | Task representing the asynchronous operation. |
Overrides
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 |
|---|---|
| Task | Task representing the asynchronous operation. |