menu

Blazor

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

    Show / Hide Table of Contents

    Class FontSettings

    Sets and gets the options for customizing the font style.

    Inheritance
    System.Object
    SfBaseComponent
    FontSettings
    SparklineFont
    SparklineTooltipTextStyle
    Inherited Members
    SfBaseComponent.Dispose()
    SfBaseComponent.Dispose(Boolean)
    SfBaseComponent.GetEffectivePlatform()
    SfBaseComponent.GetMainComponentPlatform()
    SfBaseComponent.IsMainLicenseComponent()
    SfBaseComponent.LicenseContext
    SfBaseComponent.OnAfterRenderAsync(Boolean)
    SfBaseComponent.OnInitializedAsync()
    SfBaseComponent.OnObservableChange(String, Object, Boolean, NotifyCollectionChangedEventArgs)
    SfBaseComponent.ValidateLicense()
    Namespace: Syncfusion.Blazor.Charts
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class FontSettings : SfBaseComponent

    Constructors

    FontSettings()

    Declaration
    public FontSettings()

    Properties

    Color

    Sets and gets the color for the text.

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

    FontFamily

    Sets and gets the font family for the text.

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

    FontStyle

    Sets and gets the font style for the text.

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

    FontWeight

    Sets and gets the font weight for the text.

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

    Opacity

    Sets and gets the opacity for the text.

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

    Size

    Sets and gets the font size for the text.

    Declaration
    public string Size { get; set; }
    Property Value
    Type
    System.String
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved