menu

WPF

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

    Show / Hide Table of Contents

    Class Office2019WhiteThemeSettings

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

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

    Constructors

    Office2019WhiteThemeSettings()

    Constructor to create an instance of Office2019WhiteThemeSettings.

    Declaration
    public Office2019WhiteThemeSettings()

    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
    Office2019WhiteThemeSettings office2019WhiteThemeSettings = new Office2019WhiteThemeSettings();
    office2019WhiteThemeSettings.Body AltFontSize = 10;
    SfSkinManager.RegisterThemeSettings("Office2019White", office2019WhiteThemeSettings);

    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
    Office2019WhiteThemeSettings office2019WhiteThemeSettings = new Office2019WhiteThemeSettings();
    office2019WhiteThemeSettings.BodyFontSize = 12;
    SfSkinManager.RegisterThemeSettings("Office2019White", office2019WhiteThemeSettings);

    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
    Office2019WhiteThemeSettings office2019WhiteThemeSettings = new Office2019WhiteThemeSettings();
    office2019WhiteThemeSettings.FontFamily = new FontFamily("Callibri");
    SfSkinManager.RegisterThemeSettings("Office2019White", office2019WhiteThemeSettings);

    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
    Office2019WhiteThemeSettings office2019WhiteThemeSettings = new Office2019WhiteThemeSettings();
    office2019WhiteThemeSettings.HeaderFontSize = 16;
    SfSkinManager.RegisterThemeSettings("Office2019White", office2019WhiteThemeSettings);

    Palette

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

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

    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.
    RedThe Red palette primary colors will be applied for specific theme.
    BlueThe Blue palette primary colors will be applied for specific theme.
    GreenThe Green palette primary colors will be applied for specific theme.
    RedOrangeThe RedOrange palette primary colors will be applied for specific theme.
    VioletThe Violet palette primary colors will be applied for specific theme.
    DeepGreenThe DeepGreen palette primary colors will be applied for specific theme.
    DeepVioletThe DeepViolet palette primary colors will be applied for specific theme.
    RedBrownThe RedBrown palette primary colors will be applied for specific theme.
    GreenCyanThe GreenCyan palette primary colors will be applied for specific theme.
    DeepGreenCyanThe DeepGreenCyan palette primary colors will be applied for specific theme.
    LightVioletThe LightViolet palette primary colors will be applied for specific theme.
    MarinerBlueThe MarinerBlue palette primary colors will be applied for specific theme.
    DeepBlueThe DeepBlue palette primary colors will be applied for specific theme.
    LightBlueThe LightBlue palette primary colors will be applied for specific theme.
    Remarks

    Applicable only for ThemeStudio specific themes.

    Examples
    Office2019WhiteThemeSettings themeSettings = new Office2019WhiteThemeSettings();
    themeSettings.Palette = Office2019Palette.Red;
    SfSkinManager.RegisterThemeSettings("Office2019White", 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
    Office2019WhiteThemeSettings office2019WhiteThemeSettings = new Office2019WhiteThemeSettings();
    office2019WhiteThemeSettings.PrimaryBackground = Brushes.Red;
    SfSkinManager.RegisterThemeSettings("Office2019White", office2019WhiteThemeSettings);

    PrimaryBackgroundOpacity1

    Declaration
    public Brush PrimaryBackgroundOpacity1 { 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

    PrimaryColorLight4

    Declaration
    public Brush PrimaryColorLight4 { 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
    Office2019WhiteThemeSettings office2019WhiteThemeSettings = new Office2019WhiteThemeSettings();
    office2019WhiteThemeSettings.PrimaryForeground = Brushes.AntiqueWhite;
    SfSkinManager.RegisterThemeSettings("Office2019White", office2019WhiteThemeSettings);

    SecondaryBorderSelected

    Declaration
    public Brush SecondaryBorderSelected { 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
    Office2019WhiteThemeSettings office2019WhiteThemeSettings = new Office2019WhiteThemeSettings();
    office2019WhiteThemeSettings.SubHeaderFontSize = 14;
    SfSkinManager.RegisterThemeSettings("Office2019White", office2019WhiteThemeSettings);

    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
    Office2019WhiteThemeSettings office2019WhiteThemeSettings = new Office2019WhiteThemeSettings();
    office2019WhiteThemeSettings.SubTitleFontSize = 12;
    SfSkinManager.RegisterThemeSettings("Office2019White", office2019WhiteThemeSettings);

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