Class MaterialDarkBlueThemeSettings
Represents a class that holds the respective theme color and common key values for customization
Inheritance
System.Object
MaterialDarkBlueThemeSettings
Assembly: Syncfusion.Themes.MaterialDarkBlue.WPF.dll
Syntax
public class MaterialDarkBlueThemeSettings : Object, IThemeSetting
Constructors
MaterialDarkBlueThemeSettings()
Constructor to create an instance of MaterialDarkBlueThemeSettings.
Declaration
public MaterialDarkBlueThemeSettings()
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
MaterialDarkBlueThemeSettings materialDarkBlueThemeSettings = new MaterialDarkBlueThemeSettings();
materialDarkBlueThemeSettings.Body AltFontSize = 10;
SfSkinManager.RegisterThemeSettings("MaterialDarkBlue", materialDarkBlueThemeSettings);
BodyFontSize
Gets or sets the font size of content area of control in selected theme
Declaration
public double BodyFontSize { get; set; }
Property Value
Examples
MaterialDarkBlueThemeSettings materialDarkBlueThemeSettings = new MaterialDarkBlueThemeSettings();
materialDarkBlueThemeSettings.BodyFontSize = 12;
SfSkinManager.RegisterThemeSettings("MaterialDarkBlue", materialDarkBlueThemeSettings);
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
MaterialDarkBlueThemeSettings materialDarkBlueThemeSettings = new MaterialDarkBlueThemeSettings();
materialDarkBlueThemeSettings.FontFamily = new FontFamily("Callibri");
SfSkinManager.RegisterThemeSettings("MaterialDarkBlue", materialDarkBlueThemeSettings);
Gets or sets the font size of header related areas of control in selected theme
Declaration
public double HeaderFontSize { get; set; }
Property Value
MaterialDarkBlueThemeSettings materialDarkBlueThemeSettings = new MaterialDarkBlueThemeSettings();
materialDarkBlueThemeSettings.HeaderFontSize = 16;
SfSkinManager.RegisterThemeSettings("MaterialDarkBlue", materialDarkBlueThemeSettings);
Palette
Gets or sets the palette primary colors to be set for specific theme.
Declaration
public MaterialPalette Palette { get; set; }
Property Value
Type |
Description |
MaterialPalette |
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. | Pink | The Pink palette primary colors will be applied for specific theme. | Purple | The Purple palette primary colors will be applied for specific theme. | DeepPurple | The DeepPurple palette primary colors will be applied for specific theme. | Indigo | The Indigo palette primary colors will be applied for specific theme. | Blue | The Blue palette primary colors will be applied for specific theme. | LightBlue | The LightBlue palette primary colors will be applied for specific theme. | Cyan | The Cyan palette primary colors will be applied for specific theme. | Green | The Green palette primary colors will be applied for specific theme. | Orange | The Orange palette primary colors will be applied for specific theme. |
|
Examples
MaterialDarkBlueThemeSettings themeSettings = new MaterialDarkBlueThemeSettings();
themeSettings.Palette = MaterialPalette.Red;
SfSkinManager.RegisterThemeSettings("MaterialDarkBlue", 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
MaterialDarkBlueThemeSettings materialDarkBlueThemeSettings = new MaterialDarkBlueThemeSettings();
materialDarkBlueThemeSettings.PrimaryBackground = Brushes.Red;
SfSkinManager.RegisterThemeSettings("MaterialDarkBlue", materialDarkBlueThemeSettings);
PrimaryBackgroundOpacity
Declaration
public Brush PrimaryBackgroundOpacity { 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 |
PrimaryColorForeground
Declaration
public Brush PrimaryColorForeground { get; set; }
Property Value
Type |
System.Windows.Media.Brush |
PrimaryDark
Declaration
public Brush PrimaryDark { get; set; }
Property Value
Type |
System.Windows.Media.Brush |
PrimaryDarken
Declaration
public Brush PrimaryDarken { get; set; }
Property Value
Type |
System.Windows.Media.Brush |
PrimaryDarkest
Declaration
public Brush PrimaryDarkest { 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
MaterialDarkBlueThemeSettings materialDarkBlueThemeSettings = new MaterialDarkBlueThemeSettings();
materialDarkBlueThemeSettings.PrimaryForeground = Brushes.AntiqueWhite;
SfSkinManager.RegisterThemeSettings("MaterialDarkBlue", materialDarkBlueThemeSettings);
PrimaryLight
Declaration
public Brush PrimaryLight { get; set; }
Property Value
Type |
System.Windows.Media.Brush |
PrimaryLighten
Declaration
public Brush PrimaryLighten { get; set; }
Property Value
Type |
System.Windows.Media.Brush |
PrimaryLightest
Declaration
public Brush PrimaryLightest { 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
MaterialDarkBlueThemeSettings materialDarkBlueThemeSettings = new MaterialDarkBlueThemeSettings();
materialDarkBlueThemeSettings.SubHeaderFontSize = 14;
SfSkinManager.RegisterThemeSettings("MaterialDarkBlue", materialDarkBlueThemeSettings);
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
MaterialDarkBlueThemeSettings materialDarkBlueThemeSettings = new MaterialDarkBlueThemeSettings();
materialDarkBlueThemeSettings.SubTitleFontSize = 12;
SfSkinManager.RegisterThemeSettings("MaterialDarkBlue", materialDarkBlueThemeSettings);
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
MaterialDarkBlueThemeSettings materialDarkBlueThemeSettings = new MaterialDarkBlueThemeSettings();
materialDarkBlueThemeSettings.TitleFontSize = 14;
SfSkinManager.RegisterThemeSettings("MaterialDarkBlue", materialDarkBlueThemeSettings);