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