menu

WPF

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

    Show / Hide Table of Contents

    Class LabelStyle

    Represents the LabelStyle class.

    Inheritance
    System.Object
    LabelStyle
    Namespace: Syncfusion.UI.Xaml.Charts
    Assembly: Syncfusion.SfChart.WPF.dll
    Syntax
    public class LabelStyle : DependencyObject

    Constructors

    LabelStyle()

    Initializes a new instance of the LabelStyle class.

    Declaration
    public LabelStyle()

    Fields

    FontFamilyProperty

    The DependencyProperty for FontFamily property.

    Declaration
    public static readonly DependencyProperty FontFamilyProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    FontSizeProperty

    The DependencyProperty for FontSize property.

    Declaration
    public static readonly DependencyProperty FontSizeProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    ForegroundProperty

    The DependencyProperty for Foreground property.

    Declaration
    public static readonly DependencyProperty ForegroundProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    Properties

    FontFamily

    Gets or sets the font family for label

    Declaration
    public FontFamily FontFamily { get; set; }
    Property Value
    Type
    System.Windows.Media.FontFamily

    FontSize

    Gets or sets the font size

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

    Foreground

    Gets or sets the foreground color for label

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