menu

WPF

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

    Show / Hide Table of Contents

    Class SystemThemeThemeSettings

    Represents a class that holds the respective theme color and common key values for customization

    Inheritance
    System.Object
    SystemThemeThemeSettings
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.Themes.SystemTheme.WPF
    Assembly: Syncfusion.Themes.SystemTheme.WPF.dll
    Syntax
    public class SystemThemeThemeSettings : IThemeSetting

    Constructors

    SystemThemeThemeSettings()

    Constructor to create an instance of SystemThemeThemeSettings.

    Declaration
    public SystemThemeThemeSettings()

    Properties

    BodyAltFontSize

    Gets or sets the alternate font size of content area of control in selected theme

    Declaration
    public double BodyAltFontSize { get; set; }
    Property Value
    Type
    System.Double
    Examples
    SystemThemeThemeSettings systemThemeThemeSettings = new SystemThemeThemeSettings();
    systemThemeThemeSettings.Body AltFontSize = 10;
    SfSkinManager.RegisterThemeSettings("SystemTheme", systemThemeThemeSettings);

    BodyFontSize

    Gets or sets the font size of content area of control in selected theme

    Declaration
    public double BodyFontSize { get; set; }
    Property Value
    Type
    System.Double
    Examples
    SystemThemeThemeSettings systemThemeThemeSettings = new SystemThemeThemeSettings();
    systemThemeThemeSettings.BodyFontSize = 12;
    SfSkinManager.RegisterThemeSettings("SystemTheme", systemThemeThemeSettings);

    FontFamily

    Gets or sets the font family of text in control for selected theme

    Declaration
    public FontFamily FontFamily { get; set; }
    Property Value
    Type
    System.Windows.Media.FontFamily
    Examples
    SystemThemeThemeSettings systemThemeThemeSettings = new SystemThemeThemeSettings();
    systemThemeThemeSettings.FontFamily = new FontFamily("Callibri");
    SfSkinManager.RegisterThemeSettings("SystemTheme", systemThemeThemeSettings);

    HeaderFontSize

    Gets or sets the font size of header related areas of control in selected theme

    Declaration
    public double HeaderFontSize { get; set; }
    Property Value
    Type
    System.Double
    Examples
    SystemThemeThemeSettings systemThemeThemeSettings = new SystemThemeThemeSettings();
    systemThemeThemeSettings.HeaderFontSize = 16;
    SfSkinManager.RegisterThemeSettings("SystemTheme", systemThemeThemeSettings);

    SubHeaderFontSize

    Gets or sets the font size of sub header related areas of control in selected theme

    Declaration
    public double SubHeaderFontSize { get; set; }
    Property Value
    Type
    System.Double
    Examples
    SystemThemeThemeSettings systemThemeThemeSettings = new SystemThemeThemeSettings();
    systemThemeThemeSettings.SubHeaderFontSize = 14;
    SfSkinManager.RegisterThemeSettings("SystemTheme", systemThemeThemeSettings);

    SubTitleFontSize

    Gets or sets the font size of sub title related areas of control in selected theme

    Declaration
    public double SubTitleFontSize { get; set; }
    Property Value
    Type
    System.Double
    Examples
    SystemThemeThemeSettings systemThemeThemeSettings = new SystemThemeThemeSettings();
    systemThemeThemeSettings.SubTitleFontSize = 12;
    SfSkinManager.RegisterThemeSettings("SystemTheme", systemThemeThemeSettings);

    TitleFontSize

    Gets or sets the font size of title related areas of control in selected theme

    Declaration
    public double TitleFontSize { get; set; }
    Property Value
    Type
    System.Double
    Examples
    SystemThemeThemeSettings systemThemeThemeSettings = new SystemThemeThemeSettings();
    systemThemeThemeSettings.TitleFontSize = 14;
    SfSkinManager.RegisterThemeSettings("SystemTheme", systemThemeThemeSettings);
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved