menu

Blazor

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

    Show / Hide Table of Contents

    Class Chart3DEventFont

    Gets or sets the font style for the event arguments in the SfChart3D component events.

    Inheritance
    System.Object
    Chart3DEventFont
    Namespace: Syncfusion.Blazor.Chart3D
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class Chart3DEventFont : Object

    Constructors

    Chart3DEventFont()

    Declaration
    public Chart3DEventFont()

    Properties

    Color

    Gets or sets the color for the text.

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

    A string representing the color for the text. The default value is null.

    Remarks

    Accepts values in hex and rgba as a valid CSS color string.

    FontFamily

    Gets or sets the font family for the text.

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

    A string representing the font family for the text. The default value is "Segoe UI".

    FontStyle

    Gets or sets the font style for the text.

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

    A string representing the font style for the text. The default value is "Normal".

    FontWeight

    Gets or sets the font weight for the text.

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

    A string representing the font weight for the text. The default value is "Normal".

    Opacity

    Gets or sets the opacity for the text.

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

    A double value representing the opacity for the text. It ranges from 0 to 1. The default value is 1.

    Size

    Gets or sets the font size for the text.

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

    A string representing the font size for the text. The default value is "16px".

    TextAlignment

    Gets or sets the text alignment.

    Declaration
    public Alignment TextAlignment { get; set; }
    Property Value
    Type Description
    Alignment

    One of the Alignment enumerations that specifies the alignment of the text. Options include:

    The default value is Center.
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved