Class Material3LightThemeSettings
Represents a class that holds the respective theme color and common key values for customization
Inheritance
System.Object
Material3LightThemeSettings
Assembly: Syncfusion.Themes.Material3Light.WPF.dll
Syntax
public class Material3LightThemeSettings : Object, IThemeSetting
Constructors
Material3LightThemeSettings()
Constructor to create an instance of Material3LightThemeSettings.
Declaration
public Material3LightThemeSettings()
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
Material3LightThemeSettings material3LightThemeSettings = new Material3LightThemeSettings();
material3LightThemeSettings.Body AltFontSize = 10;
SfSkinManager.RegisterThemeSettings("Material3Light", material3LightThemeSettings);
BodyFontSize
Gets or sets the font size of content area of control in selected theme
Declaration
public double BodyFontSize { get; set; }
Property Value
Examples
Material3LightThemeSettings material3LightThemeSettings = new Material3LightThemeSettings();
material3LightThemeSettings.BodyFontSize = 12;
SfSkinManager.RegisterThemeSettings("Material3Light", material3LightThemeSettings);
BorderAlt2
Declaration
public Brush BorderAlt2 { get; set; }
Property Value
Type |
System.Windows.Media.Brush |
ContentBackground
Declaration
public Brush ContentBackground { get; set; }
Property Value
Type |
System.Windows.Media.Brush |
ContentBackgroundAlt1
Declaration
public Brush ContentBackgroundAlt1 { get; set; }
Property Value
Type |
System.Windows.Media.Brush |
ContentBackgroundAlt2
Declaration
public Brush ContentBackgroundAlt2 { get; set; }
Property Value
Type |
System.Windows.Media.Brush |
ContentBackgroundAlt3
Declaration
public Brush ContentBackgroundAlt3 { get; set; }
Property Value
Type |
System.Windows.Media.Brush |
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 |
ContentBackgroundAlt6
Declaration
public Brush ContentBackgroundAlt6 { get; set; }
Property Value
Type |
System.Windows.Media.Brush |
ContentBackgroundDisabled
Declaration
public Brush ContentBackgroundDisabled { get; set; }
Property Value
Type |
System.Windows.Media.Brush |
ContentBackgroundPressed
Declaration
public Brush ContentBackgroundPressed { 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
Material3LightThemeSettings material3LightThemeSettings = new Material3LightThemeSettings();
material3LightThemeSettings.FontFamily = new FontFamily("Callibri");
SfSkinManager.RegisterThemeSettings("Material3Light", material3LightThemeSettings);
Gets or sets the font size of header related areas of control in selected theme
Declaration
public double HeaderFontSize { get; set; }
Property Value
Material3LightThemeSettings material3LightThemeSettings = new Material3LightThemeSettings();
material3LightThemeSettings.HeaderFontSize = 16;
SfSkinManager.RegisterThemeSettings("Material3Light", material3LightThemeSettings);
LinkForeground
Declaration
public Brush LinkForeground { get; set; }
Property Value
Type |
System.Windows.Media.Brush |
LinkForegroundHovered
Declaration
public Brush LinkForegroundHovered { 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 Material3Palette Palette { get; set; }
Property Value
Type |
Description |
Material3Palette |
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. | EnglishRed | The EnglishRed palette primary colors will be applied for specific theme. | JungleGreen | The JungleGreen palette primary colors will be applied for specific theme. | DarkYellow | The DarkYellow palette primary colors will be applied for specific theme. | SlateBlue | The SlateBlue palette primary colors will be applied for specific theme. | OldLavender | The OldLavender palette primary colors will be applied for specific theme. |
|
Examples
Material3LightThemeSettings themeSettings = new Material3LightThemeSettings();
themeSettings.Palette = Material3Palette.EnglishRed;
SfSkinManager.RegisterThemeSettings("Material3Light", themeSettings);
Declaration
public Brush PopupBackground { get; set; }
Property Value
Type |
System.Windows.Media.Brush |
PrimaryBackground
Declaration
public Brush PrimaryBackground { 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 |
PrimaryBorderSelected
Declaration
public Brush PrimaryBorderSelected { get; set; }
Property Value
Type |
System.Windows.Media.Brush |
Declaration
public Brush PrimaryButtonBorder { get; set; }
Property Value
Type |
System.Windows.Media.Brush |
Declaration
public Brush PrimaryButtonBorderFocused { get; set; }
Property Value
Type |
System.Windows.Media.Brush |
Declaration
public Brush PrimaryButtonBorderHovered { 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
Declaration
public Brush PrimaryForeground { get; set; }
Property Value
Type |
System.Windows.Media.Brush |
SecondaryBackground
Declaration
public Brush SecondaryBackground { get; set; }
Property Value
Type |
System.Windows.Media.Brush |
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 |
SecondaryBorder
Declaration
public Brush SecondaryBorder { get; set; }
Property Value
Type |
System.Windows.Media.Brush |
SecondaryBorderHovered
Declaration
public Brush SecondaryBorderHovered { get; set; }
Property Value
Type |
System.Windows.Media.Brush |
SecondaryBorderSelected
Declaration
public Brush SecondaryBorderSelected { 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
Material3LightThemeSettings material3LightThemeSettings = new Material3LightThemeSettings();
material3LightThemeSettings.SubHeaderFontSize = 14;
SfSkinManager.RegisterThemeSettings("Material3Light", material3LightThemeSettings);
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
Material3LightThemeSettings material3LightThemeSettings = new Material3LightThemeSettings();
material3LightThemeSettings.SubTitleFontSize = 12;
SfSkinManager.RegisterThemeSettings("Material3Light", material3LightThemeSettings);
Surface
Declaration
public Brush Surface { get; set; }
Property Value
Type |
System.Windows.Media.Brush |
TableAlternativeBackground
Declaration
public Brush TableAlternativeBackground { get; set; }
Property Value
Type |
System.Windows.Media.Brush |
TableSelectedBackground
Declaration
public Brush TableSelectedBackground { get; set; }
Property Value
Type |
System.Windows.Media.Brush |
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
Material3LightThemeSettings material3LightThemeSettings = new Material3LightThemeSettings();
material3LightThemeSettings.TitleFontSize = 14;
SfSkinManager.RegisterThemeSettings("Material3Light", material3LightThemeSettings);