menu

ASP.NET MVC - EJ2

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class LinearGaugeFont - ASP.NETMVC-EJ2 API Reference | Syncfusion

    Show / Hide Table of Contents

    Class LinearGaugeFont

    Inheritance
    System.Object
    Syncfusion.EJ2.EJTagHelper
    LinearGaugeFont
    AnnotationFontAnnotations
    LinearGaugeTitleStyleLinearGauge
    TooltipSettingsTextStyleTooltip
    Namespace: Syncfusion.EJ2.LinearGauge
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class LinearGaugeFont : EJTagHelper

    Constructors

    LinearGaugeFont()

    Declaration
    public LinearGaugeFont()

    Properties

    Color

    Sets and gets the font color for text.

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

    The default value is ""

    ContentTemplate

    To get or set value for ContentTemplate.

    Declaration
    public MvcTemplate<object> ContentTemplate { get; set; }
    Property Value
    Type
    Syncfusion.EJ2.MvcTemplate<System.Object>

    FontFamily

    Sets and gets the font-family for text.

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

    The default value is null

    FontStyle

    Sets and gets the font style for the text.

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

    The default value is "Normal"

    FontWeight

    Sets and gets the font weight of the text.

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

    The default value is "Regular"

    Opacity

    Sets and gets the opacity of the text.

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

    The default value is 1

    Size

    Sets and gets the size of the font in text.

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

    The default value is null

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