menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class MapsZoomToolbarTooltipSettings - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class MapsZoomToolbarTooltipSettings

    Gets and sets the properties of the tooltip in the zoom toolbar.

    Inheritance
    System.Object
    MapsZoomToolbarTooltipSettings
    Namespace: Syncfusion.Blazor.Maps
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class MapsZoomToolbarTooltipSettings : OwningComponentBase

    Constructors

    MapsZoomToolbarTooltipSettings()

    Declaration
    public MapsZoomToolbarTooltipSettings()

    Properties

    BorderColor

    Gets and sets the color of the border of the tooltip in the zoom toolbar.

    Declaration
    public string BorderColor { get; set; }
    Property Value
    Type Description
    System.String

    A string representing the border color. Default is "#707070".

    Remarks

    Use this property to define the border color of the tooltip.

    BorderOpacity

    Gets and sets the opacity of the border of the tooltip in the zoom toolbar.

    Declaration
    public double BorderOpacity { get; set; }
    Property Value
    Type Description
    System.Double

    A double value ranging from 0 (completely transparent) to 1 (fully opaque). Default is 1.

    Remarks

    Adjust this property to set the transparency level of the tooltip's border.

    BorderWidth

    Gets and sets the width of the border of the tooltip in the zoom toolbar.

    Declaration
    public double BorderWidth { get; set; }
    Property Value
    Type Description
    System.Double

    A double value representing the border width. Default is 1.

    Remarks

    This property specifies the thickness of the tooltip's border.

    ChildContent

    Sets and gets the content of the UI element.

    Declaration
    public RenderFragment ChildContent { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.RenderFragment

    A Microsoft.AspNetCore.Components.RenderFragment representing the template content of the UI element.

    Remarks

    This property is used to define custom content within the tooltip area of the zoom toolbar.

    Fill

    Gets and sets the fill color of the tooltip in the zoom toolbar.

    Declaration
    public string Fill { get; set; }
    Property Value
    Type Description
    System.String

    A string representing the fill color of the tooltip's background. Default is "#FFFFFF".

    Remarks

    Customize this property to set the background color of the tooltip.

    FontColor

    Gets and sets the color of the text in the tooltip in the zoom toolbar.

    Declaration
    public string FontColor { get; set; }
    Property Value
    Type Description
    System.String

    A string representing the text color. Default is "black".

    Remarks

    Set this property to change the color of the text within the tooltip.

    FontFamily

    Gets and sets the font family of the text in the tooltip in the zoom toolbar.

    Declaration
    public string FontFamily { get; set; }
    Property Value
    Type Description
    System.String

    A string representing the font family.

    Remarks

    Use this property to specify the font family for the tooltip text.

    FontOpacity

    Gets and sets the opacity of the text in the tooltip in the zoom toolbar.

    Declaration
    public double FontOpacity { get; set; }
    Property Value
    Type Description
    System.Double

    A double value indicating the text's opacity, where 0 is completely transparent and 1 is fully opaque. Default is 1.

    Remarks

    This property adjusts the visibility of the text inside the tooltip.

    FontSize

    Gets and sets the size of the text in the tooltip in the zoom toolbar.

    Declaration
    public string FontSize { get; set; }
    Property Value
    Type Description
    System.String

    A string indicating the font size. Default is "10px".

    Remarks

    Use this property to define the size of the tooltip text.

    FontStyle

    Gets and sets the font style of the text in the tooltip in the zoom toolbar.

    Declaration
    public string FontStyle { get; set; }
    Property Value
    Type Description
    System.String

    A string indicating the font style (e.g., "normal", "italic").

    Remarks

    Customize this property to apply a specific font style to the tooltip text.

    FontWeight

    Gets and sets the font weight of the text in the tooltip in the zoom toolbar.

    Declaration
    public string FontWeight { get; set; }
    Property Value
    Type Description
    System.String

    A string representing the font weight (e.g., "bold", "normal").

    Remarks

    This property allows you to set the weight of the tooltip text.

    Visible

    Enables or disables the tooltip in the zoom toolbar.

    Declaration
    public bool Visible { get; set; }
    Property Value
    Type Description
    System.Boolean

    A boolean value indicating the visibility of the tooltip. Default is true.

    Remarks

    This property controls whether the tooltip in the zoom toolbar is visible or not.

    Methods

    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.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved