alexa
menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class TreeMapTooltipSettings

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

    Inheritance
    object
    ComponentBase
    OwningComponentBase
    SfOwningComponentBase
    TreeMapTooltipSettings
    Implements
    IComponent
    IHandleEvent
    IHandleAfterRender
    IDisposable
    Inherited Members
    ComponentBase.Assets
    ComponentBase.AssignedRenderMode
    ComponentBase.DispatchExceptionAsync(Exception)
    ComponentBase.InvokeAsync(Action)
    ComponentBase.InvokeAsync(Func<Task>)
    ComponentBase.OnAfterRender(bool)
    ComponentBase.OnAfterRenderAsync(bool)
    ComponentBase.OnInitialized()
    ComponentBase.OnParametersSet()
    ComponentBase.OnParametersSetAsync()
    ComponentBase.RendererInfo
    ComponentBase.SetParametersAsync(ParameterView)
    ComponentBase.ShouldRender()
    ComponentBase.StateHasChanged()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    OwningComponentBase.IsDisposed
    OwningComponentBase.ScopedServices
    Namespace: Syncfusion.Blazor.TreeMap
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class TreeMapTooltipSettings : SfOwningComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable

    Constructors

    TreeMapTooltipSettings()

    Declaration
    public TreeMapTooltipSettings()

    Properties

    ChildContent

    Sets and gets the content of the UI element.

    Declaration
    [Parameter]
    public RenderFragment ChildContent { get; set; }
    Property Value
    Type Description
    RenderFragment

    A 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
    [Parameter]
    public string Fill { get; set; }
    Property Value
    Type Description
    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
    [Parameter]
    public string Format { get; set; }
    Property Value
    Type Description
    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
    [Parameter]
    public double Opacity { get; set; }
    Property Value
    Type Description
    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
    [Parameter]
    public RenderFragment<object> TooltipTemplate { get; set; }
    Property Value
    Type Description
    RenderFragment<object>

    A 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
    [Parameter]
    public bool Visible { get; set; }
    Property Value
    Type Description
    bool

    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
    RenderTreeBuilder __builder
    Overrides
    ComponentBase.BuildRenderTree(RenderTreeBuilder)

    Dispose(bool)

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    bool disposing
    Overrides
    OwningComponentBase.Dispose(bool)

    OnInitializedAsync()

    Method invoked when the component is ready to start.

    Declaration
    protected override Task OnInitializedAsync()
    Returns
    Type Description
    Task

    A Task representing the asynchronous operation.

    Overrides
    ComponentBase.OnInitializedAsync()

    Implements

    IComponent
    IHandleEvent
    IHandleAfterRender
    IDisposable
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved