Class MaterialLightBlueThemeSettings
Represents a class that holds the respective theme color and common key values for customization
Inheritance
System.Object
MaterialLightBlueThemeSettings
Assembly: Syncfusion.Themes.MaterialLightBlue.WPF.dll
Syntax
public class MaterialLightBlueThemeSettings : Object, IThemeSetting
Constructors
MaterialLightBlueThemeSettings()
Constructor to create an instance of MaterialLightBlueThemeSettings.
Declaration
public MaterialLightBlueThemeSettings()
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
MaterialLightBlueThemeSettings materialLightBlueThemeSettings = new MaterialLightBlueThemeSettings();
materialLightBlueThemeSettings.Body AltFontSize = 10;
SfSkinManager.RegisterThemeSettings("MaterialLightBlue", materialLightBlueThemeSettings);
BodyFontSize
Gets or sets the font size of content area of control in selected theme
Declaration
public double BodyFontSize { get; set; }
Property Value
Examples
MaterialLightBlueThemeSettings materialLightBlueThemeSettings = new MaterialLightBlueThemeSettings();
materialLightBlueThemeSettings.BodyFontSize = 12;
SfSkinManager.RegisterThemeSettings("MaterialLightBlue", materialLightBlueThemeSettings);
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
MaterialLightBlueThemeSettings materialLightBlueThemeSettings = new MaterialLightBlueThemeSettings();
materialLightBlueThemeSettings.FontFamily = new FontFamily("Callibri");
SfSkinManager.RegisterThemeSettings("MaterialLightBlue", materialLightBlueThemeSettings);
Gets or sets the font size of header related areas of control in selected theme
Declaration
public double HeaderFontSize { get; set; }
Property Value
MaterialLightBlueThemeSettings materialLightBlueThemeSettings = new MaterialLightBlueThemeSettings();
materialLightBlueThemeSettings.HeaderFontSize = 16;
SfSkinManager.RegisterThemeSettings("MaterialLightBlue", materialLightBlueThemeSettings);
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
MaterialLightBlueThemeSettings themeSettings = new MaterialLightBlueThemeSettings();
themeSettings.Palette = MaterialPalette.Red;
SfSkinManager.RegisterThemeSettings("MaterialLightBlue", 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
MaterialLightBlueThemeSettings materialLightBlueThemeSettings = new MaterialLightBlueThemeSettings();
materialLightBlueThemeSettings.PrimaryBackground = Brushes.Red;
SfSkinManager.RegisterThemeSettings("MaterialLightBlue", materialLightBlueThemeSettings);
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
MaterialLightBlueThemeSettings materialLightBlueThemeSettings = new MaterialLightBlueThemeSettings();
materialLightBlueThemeSettings.PrimaryForeground = Brushes.AntiqueWhite;
SfSkinManager.RegisterThemeSettings("MaterialLightBlue", materialLightBlueThemeSettings);
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
MaterialLightBlueThemeSettings materialLightBlueThemeSettings = new MaterialLightBlueThemeSettings();
materialLightBlueThemeSettings.SubHeaderFontSize = 14;
SfSkinManager.RegisterThemeSettings("MaterialLightBlue", materialLightBlueThemeSettings);
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
MaterialLightBlueThemeSettings materialLightBlueThemeSettings = new MaterialLightBlueThemeSettings();
materialLightBlueThemeSettings.SubTitleFontSize = 12;
SfSkinManager.RegisterThemeSettings("MaterialLightBlue", materialLightBlueThemeSettings);
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
MaterialLightBlueThemeSettings materialLightBlueThemeSettings = new MaterialLightBlueThemeSettings();
materialLightBlueThemeSettings.TitleFontSize = 14;
SfSkinManager.RegisterThemeSettings("MaterialLightBlue", materialLightBlueThemeSettings);