menu

WPF

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

    Show / Hide Table of Contents

    Class Windows11LightThemeSettings

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

    Inheritance
    System.Object
    Windows11LightThemeSettings
    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.Windows11Light.WPF
    Assembly: Syncfusion.Themes.Windows11Light.WPF.dll
    Syntax
    public class Windows11LightThemeSettings : IThemeSetting

    Constructors

    Windows11LightThemeSettings()

    Constructor to create an instance of Windows11LightThemeSettings.

    Declaration
    public Windows11LightThemeSettings()

    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
    Windows11LightThemeSettings windows11LightThemeSettings = new Windows11LightThemeSettings();
    windows11LightThemeSettings.Body AltFontSize = 10;
    SfSkinManager.RegisterThemeSettings("Windows11Light", windows11LightThemeSettings);

    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
    Windows11LightThemeSettings windows11LightThemeSettings = new Windows11LightThemeSettings();
    windows11LightThemeSettings.BodyFontSize = 12;
    SfSkinManager.RegisterThemeSettings("Windows11Light", windows11LightThemeSettings);

    BorderAlt2Gradient

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

    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
    Windows11LightThemeSettings windows11LightThemeSettings = new Windows11LightThemeSettings();
    windows11LightThemeSettings.FontFamily = new FontFamily("Callibri");
    SfSkinManager.RegisterThemeSettings("Windows11Light", windows11LightThemeSettings);

    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
    Windows11LightThemeSettings windows11LightThemeSettings = new Windows11LightThemeSettings();
    windows11LightThemeSettings.HeaderFontSize = 16;
    SfSkinManager.RegisterThemeSettings("Windows11Light", windows11LightThemeSettings);

    Palette

    Gets or sets the palette primary colors to be set for specific theme.

    Declaration
    public Windows11Palette Palette { get; set; }
    Property Value
    Type Description
    Windows11Palette

    One of the Palette enumeration that specifies the palette to be chosen.

    The default value is Default.

    Fields:

    EnumerationDescription.
    DefaultThe Default palette primary colors will be applied for specific theme.
    PurpleShadowDarkThe PurpleShadowDark palette primary colors will be applied for specific theme.
    VioletRedThe VioletRed palette primary colors will be applied for specific theme.
    PlumbLightThe PlumbLight palette primary colors will be applied for specific theme.
    MintLightThe MintLight palette primary colors will be applied for specific theme.
    YellowGoldThe YellowGold palette primary colors will be applied for specific theme.
    SteelBlueThe SteelBlue palette primary colors will be applied for specific theme.
    Remarks

    Applicable only for ThemeStudio specific themes.

    Examples
    Windows11LightThemeSettings themeSettings = new Windows11LightThemeSettings();
    themeSettings.Palette = Windows11Palette.PurpleShadowDark;
    SfSkinManager.RegisterThemeSettings("Windows11Light", themeSettings);

    PrimaryBackground

    Gets or sets the primary background color of content area of control in selected theme

    Declaration
    public Brush PrimaryBackground { get; set; }
    Property Value
    Type
    System.Windows.Media.Brush
    Examples
    Windows11LightThemeSettings windows11LightThemeSettings = new Windows11LightThemeSettings();
    windows11LightThemeSettings.PrimaryBackground = Brushes.Red;
    SfSkinManager.RegisterThemeSettings("Windows11Light", windows11LightThemeSettings);

    PrimaryBackgroundGradient

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

    PrimaryBackgroundOpacity1

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

    PrimaryBackgroundOpacity2

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

    PrimaryBackgroundOpacity3

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

    PrimaryColorDark1

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

    PrimaryColorDark2

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

    PrimaryColorDark3

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

    PrimaryColorForeground

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

    PrimaryColorLight1

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

    PrimaryColorLight2

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

    PrimaryColorLight3

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

    PrimaryForeground

    Gets or sets the primary foreground color of content area of control in selected theme

    Declaration
    public Brush PrimaryForeground { get; set; }
    Property Value
    Type
    System.Windows.Media.Brush
    Examples
    Windows11LightThemeSettings windows11LightThemeSettings = new Windows11LightThemeSettings();
    windows11LightThemeSettings.PrimaryForeground = Brushes.AntiqueWhite;
    SfSkinManager.RegisterThemeSettings("Windows11Light", windows11LightThemeSettings);

    PrimaryForegroundDisabled

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

    PrimaryForegroundOpacity1

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

    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
    Windows11LightThemeSettings windows11LightThemeSettings = new Windows11LightThemeSettings();
    windows11LightThemeSettings.SubHeaderFontSize = 14;
    SfSkinManager.RegisterThemeSettings("Windows11Light", windows11LightThemeSettings);

    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
    Windows11LightThemeSettings windows11LightThemeSettings = new Windows11LightThemeSettings();
    windows11LightThemeSettings.SubTitleFontSize = 12;
    SfSkinManager.RegisterThemeSettings("Windows11Light", windows11LightThemeSettings);

    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
    Windows11LightThemeSettings windows11LightThemeSettings = new Windows11LightThemeSettings();
    windows11LightThemeSettings.TitleFontSize = 14;
    SfSkinManager.RegisterThemeSettings("Windows11Light", windows11LightThemeSettings);
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved