Class Office2019HighContrastWhiteThemeSettings
Represents a class that holds the respective theme color and common key values for customization
Inheritance
System.Object
Office2019HighContrastWhiteThemeSettings
Assembly: Syncfusion.Themes.Office2019HighContrastWhite.WPF.dll
Syntax
public class Office2019HighContrastWhiteThemeSettings : Object, IThemeSetting
Constructors
Office2019HighContrastWhiteThemeSettings()
Constructor to create an instance of Office2019HighContrastWhiteThemeSettings.
Declaration
public Office2019HighContrastWhiteThemeSettings()
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
Examples
Office2019HighContrastWhiteThemeSettings office2019HighContrastWhiteThemeSettings = new Office2019HighContrastWhiteThemeSettings();
office2019HighContrastWhiteThemeSettings.Body AltFontSize = 10;
SfSkinManager.RegisterThemeSettings("Office2019HighContrastWhite", office2019HighContrastWhiteThemeSettings);
BodyFontSize
Gets or sets the font size of content area of control in selected theme
Declaration
public double BodyFontSize { get; set; }
Property Value
Examples
Office2019HighContrastWhiteThemeSettings office2019HighContrastWhiteThemeSettings = new Office2019HighContrastWhiteThemeSettings();
office2019HighContrastWhiteThemeSettings.BodyFontSize = 12;
SfSkinManager.RegisterThemeSettings("Office2019HighContrastWhite", office2019HighContrastWhiteThemeSettings);
ContentBackgroundAlt4
Declaration
public Brush ContentBackgroundAlt4 { get; set; }
Property Value
Type |
System.Windows.Media.Brush |
ContentBackgroundAlt5
Declaration
public Brush ContentBackgroundAlt5 { get; set; }
Property Value
Type |
System.Windows.Media.Brush |
ContentBackgroundHovered
Declaration
public Brush ContentBackgroundHovered { get; set; }
Property Value
Type |
System.Windows.Media.Brush |
ContentBackgroundSelected
Declaration
public Brush ContentBackgroundSelected { 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
Office2019HighContrastWhiteThemeSettings office2019HighContrastWhiteThemeSettings = new Office2019HighContrastWhiteThemeSettings();
office2019HighContrastWhiteThemeSettings.FontFamily = new FontFamily("Callibri");
SfSkinManager.RegisterThemeSettings("Office2019HighContrastWhite", office2019HighContrastWhiteThemeSettings);
Gets or sets the font size of header related areas of control in selected theme
Declaration
public double HeaderFontSize { get; set; }
Property Value
Office2019HighContrastWhiteThemeSettings office2019HighContrastWhiteThemeSettings = new Office2019HighContrastWhiteThemeSettings();
office2019HighContrastWhiteThemeSettings.HeaderFontSize = 16;
SfSkinManager.RegisterThemeSettings("Office2019HighContrastWhite", office2019HighContrastWhiteThemeSettings);
HoveredForeground
Declaration
public Brush HoveredForeground { get; set; }
Property Value
Type |
System.Windows.Media.Brush |
Palette
Gets or sets the palette primary colors to be set for specific theme.
Declaration
public HighContrastPalette Palette { get; set; }
Property Value
Type |
Description |
HighContrastPalette |
One of the Palette enumeration that specifies the palette to be chosen.
The default value is Default.
Fields:
Enumeration | Description. |
---|
Default | The Default palette primary colors will be applied for specific theme. | Red | The Red palette primary colors will be applied for specific theme. | Blue | The Blue palette primary colors will be applied for specific theme. | Green | The Green palette primary colors will be applied for specific theme. | RedOrange | The RedOrange palette primary colors will be applied for specific theme. | Violet | The Violet palette primary colors will be applied for specific theme. | DeepGreen | The DeepGreen palette primary colors will be applied for specific theme. | DeepViolet | The DeepViolet palette primary colors will be applied for specific theme. | RedBrown | The RedBrown palette primary colors will be applied for specific theme. | GreenCyan | The GreenCyan palette primary colors will be applied for specific theme. | DeepGreenCyan | The DeepGreenCyan palette primary colors will be applied for specific theme. | LightViolet | The LightViolet palette primary colors will be applied for specific theme. | MarinerBlue | The MarinerBlue palette primary colors will be applied for specific theme. | DeepBlue | The DeepBlue palette primary colors will be applied for specific theme. | LightBlue | The LightBlue palette primary colors will be applied for specific theme. |
|
Examples
Office2019HighContrastWhiteThemeSettings themeSettings = new Office2019HighContrastWhiteThemeSettings();
themeSettings.Palette = HighContrastPalette.Red;
SfSkinManager.RegisterThemeSettings("Office2019HighContrastWhite", 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
Office2019HighContrastWhiteThemeSettings office2019HighContrastWhiteThemeSettings = new Office2019HighContrastWhiteThemeSettings();
office2019HighContrastWhiteThemeSettings.PrimaryBackground = Brushes.Red;
SfSkinManager.RegisterThemeSettings("Office2019HighContrastWhite", office2019HighContrastWhiteThemeSettings);
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
Office2019HighContrastWhiteThemeSettings office2019HighContrastWhiteThemeSettings = new Office2019HighContrastWhiteThemeSettings();
office2019HighContrastWhiteThemeSettings.PrimaryForeground = Brushes.AntiqueWhite;
SfSkinManager.RegisterThemeSettings("Office2019HighContrastWhite", office2019HighContrastWhiteThemeSettings);
SecondaryBackgroundHovered
Declaration
public Brush SecondaryBackgroundHovered { get; set; }
Property Value
Type |
System.Windows.Media.Brush |
SecondaryBackgroundSelected
Declaration
public Brush SecondaryBackgroundSelected { get; set; }
Property Value
Type |
System.Windows.Media.Brush |
SecondaryBorderSelected
Declaration
public Brush SecondaryBorderSelected { get; set; }
Property Value
Type |
System.Windows.Media.Brush |
SelectedForeground
Declaration
public Brush SelectedForeground { get; set; }
Property Value
Type |
System.Windows.Media.Brush |
Gets or sets the font size of sub header related areas of control in selected theme
Declaration
public double SubHeaderFontSize { get; set; }
Property Value
Office2019HighContrastWhiteThemeSettings office2019HighContrastWhiteThemeSettings = new Office2019HighContrastWhiteThemeSettings();
office2019HighContrastWhiteThemeSettings.SubHeaderFontSize = 14;
SfSkinManager.RegisterThemeSettings("Office2019HighContrastWhite", office2019HighContrastWhiteThemeSettings);
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
Examples
Office2019HighContrastWhiteThemeSettings office2019HighContrastWhiteThemeSettings = new Office2019HighContrastWhiteThemeSettings();
office2019HighContrastWhiteThemeSettings.SubTitleFontSize = 12;
SfSkinManager.RegisterThemeSettings("Office2019HighContrastWhite", office2019HighContrastWhiteThemeSettings);
TitleFontSize
Gets or sets the font size of title related areas of control in selected theme
Declaration
public double TitleFontSize { get; set; }
Property Value
Examples
Office2019HighContrastWhiteThemeSettings office2019HighContrastWhiteThemeSettings = new Office2019HighContrastWhiteThemeSettings();
office2019HighContrastWhiteThemeSettings.TitleFontSize = 14;
SfSkinManager.RegisterThemeSettings("Office2019HighContrastWhite", office2019HighContrastWhiteThemeSettings);