menu

Blazor

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

    Show / Hide Table of Contents

    Class TreeMapTooltipSettings

    Sets and gets the options for customizing the tooltip of the treemap component.

    Inheritance
    System.Object
    TreeMapTooltipSettings
    Namespace: Syncfusion.Blazor.TreeMap
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class TreeMapTooltipSettings : OwningComponentBase

    Constructors

    TreeMapTooltipSettings()

    Declaration
    public TreeMapTooltipSettings()

    Properties

    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 custom content of the tooltip UI element.

    Remarks

    This property allows the addition of custom UI content within the tooltip element of the Treemap component.

    Fill

    Sets and gets the background color of tooltip in the Treemap component.

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

    A string representing the background color of the tooltip.

    Remarks

    Customize the visual appearance of the tooltip by setting a specific background color.

    Format

    Sets and gets the format of the tooltip in the Treemap component.

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

    A string that specifies the format string for the tooltip content.

    Remarks

    This property allows setting a format string to control how the tooltip information is displayed.

    Opacity

    Sets and gets the opacity of tooltip in the Treemap component.

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

    A double representing the opacity level of the tooltip. The default value is 1.

    Remarks

    Adjust the tooltip's transparency using this property to better fit the design requirements.

    TooltipTemplate

    Sets and gets the custom template of the tooltip content.

    Declaration
    public RenderFragment<object> TooltipTemplate { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.RenderFragment<System.Object>

    A Microsoft.AspNetCore.Components.RenderFragment used to define a custom template for the tooltip content.

    Remarks

    Using this property, developers can define how the tooltip content should be rendered using a template.

    Visible

    Enables or disables the visibility state of tooltip in the Treemap component.

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

    A boolean indicating whether the tooltip is visible (true) or hidden (false).

    Remarks

    Use this property to toggle the visibility of tooltips for better user interactivity and interface feedback.

    Methods

    BuildRenderTree(RenderTreeBuilder)

    Declaration
    protected override void BuildRenderTree(RenderTreeBuilder __builder)
    Parameters
    Type Name Description
    Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder

    Dispose(Boolean)

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing

    OnInitializedAsync()

    Method invoked when the component is ready to start.

    Declaration
    protected override Task OnInitializedAsync()
    Returns
    Type Description
    System.Threading.Tasks.Task

    A System.Threading.Tasks.Task representing the asynchronous operation.

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