menu

Blazor

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

    Show / Hide Table of Contents

    Class TreeMapFontSettings

    Sets and gets the options for customizing the font style of the treemap component.

    Inheritance
    System.Object
    TreeMapFontSettings
    TreeMapHeaderStyle
    TreeMapLeafLabelStyle
    TreeMapLegendTextStyle
    TreeMapLegendTitleStyle
    TreeMapSubtitleTextStyle
    TreeMapTitleTextStyle
    TreeMapTooltipTextStyle
    Namespace: Syncfusion.Blazor.TreeMap
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class TreeMapFontSettings : OwningComponentBase

    Constructors

    TreeMapFontSettings()

    Declaration
    public TreeMapFontSettings()

    Properties

    Color

    Sets and gets the color for the text in the treemap component.

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

    A System.String representing the text color. The default value is String.Empty.

    Remarks

    This property specifies the color applied to the text within the treemap component.

    FontFamily

    Sets and gets the font family for the text in the treemap component.

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

    A System.String representing the font family. The default value is "Roboto, Noto, Sans-serif".

    Remarks

    This property allows you to set the font family for the text, ensuring that the text is displayed with the desired typography.

    FontStyle

    Sets and gets the font style for the text in the treemap component.

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

    A System.String representing the font style, such as "Normal", "Italic", or "Oblique". The default value is "Normal".

    Remarks

    This property defines the style of the font used for rendering text in the treemap, allowing for variation such as normal or italicized text.

    FontWeight

    Sets and gets the font weight for the text in the treemap component.

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

    A System.String representing the font weight, such as "Normal", "Bold", or "Bolder". The default value is "Normal".

    Remarks

    This property controls the thickness of the text, allowing for emphasis through different font weights like bold or lighter fonts.

    Opacity

    Sets and gets the opacity of the text in the treemap component.

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

    A System.Double value between 0.0 (completely transparent) and 1.0 (completely opaque). The default value is 1.0.

    Remarks

    This property manages the transparency level of the text, allowing for visual effects such as faded or opaque text.

    Size

    Sets and gets the size for the text in the treemap component.

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

    A System.String representing the font size, such as "13px" or "1em". The default value is "13px".

    Remarks

    This property sets the size of the font, enabling control over how large or small the text appears in the treemap component.

    Methods

    Dispose(Boolean)

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved