Class Windows11DarkThemeSettings
Represents a class that holds the respective theme color and common key values for customization
Inheritance
System.Object
Windows11DarkThemeSettings
Assembly: Syncfusion.Themes.Windows11Dark.WPF.dll
Syntax
public class Windows11DarkThemeSettings : Object, IThemeSetting
Constructors
Windows11DarkThemeSettings()
Constructor to create an instance of Windows11DarkThemeSettings.
Declaration
public Windows11DarkThemeSettings()
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
Windows11DarkThemeSettings windows11DarkThemeSettings = new Windows11DarkThemeSettings();
windows11DarkThemeSettings.Body AltFontSize = 10;
SfSkinManager.RegisterThemeSettings("Windows11Dark", windows11DarkThemeSettings);
BodyFontSize
Gets or sets the font size of content area of control in selected theme
Declaration
public double BodyFontSize { get; set; }
Property Value
Examples
Windows11DarkThemeSettings windows11DarkThemeSettings = new Windows11DarkThemeSettings();
windows11DarkThemeSettings.BodyFontSize = 12;
SfSkinManager.RegisterThemeSettings("Windows11Dark", windows11DarkThemeSettings);
BorderAlt2Gradient
Declaration
public Brush BorderAlt2Gradient { 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
Windows11DarkThemeSettings windows11DarkThemeSettings = new Windows11DarkThemeSettings();
windows11DarkThemeSettings.FontFamily = new FontFamily("Callibri");
SfSkinManager.RegisterThemeSettings("Windows11Dark", windows11DarkThemeSettings);
Gets or sets the font size of header related areas of control in selected theme
Declaration
public double HeaderFontSize { get; set; }
Property Value
Windows11DarkThemeSettings windows11DarkThemeSettings = new Windows11DarkThemeSettings();
windows11DarkThemeSettings.HeaderFontSize = 16;
SfSkinManager.RegisterThemeSettings("Windows11Dark", windows11DarkThemeSettings);
Palette
Gets or sets the palette primary colors to be set for specific theme.
Declaration
public Windows11Palette Palette { get; set; }
Property Value
Type |
Description |
Windows11Palette |
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. | PurpleShadowDark | The PurpleShadowDark palette primary colors will be applied for specific theme. | VioletRed | The VioletRed palette primary colors will be applied for specific theme. | PlumbLight | The PlumbLight palette primary colors will be applied for specific theme. | MintLight | The MintLight palette primary colors will be applied for specific theme. | YellowGold | The YellowGold palette primary colors will be applied for specific theme. | SteelBlue | The SteelBlue palette primary colors will be applied for specific theme. |
|
Examples
Windows11DarkThemeSettings themeSettings = new Windows11DarkThemeSettings();
themeSettings.Palette = Windows11Palette.PurpleShadowDark;
SfSkinManager.RegisterThemeSettings("Windows11Dark", 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
Windows11DarkThemeSettings windows11DarkThemeSettings = new Windows11DarkThemeSettings();
windows11DarkThemeSettings.PrimaryBackground = Brushes.Red;
SfSkinManager.RegisterThemeSettings("Windows11Dark", windows11DarkThemeSettings);
PrimaryBackgroundGradient
Declaration
public Brush PrimaryBackgroundGradient { 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 |
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
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
Windows11DarkThemeSettings windows11DarkThemeSettings = new Windows11DarkThemeSettings();
windows11DarkThemeSettings.PrimaryForeground = Brushes.AntiqueWhite;
SfSkinManager.RegisterThemeSettings("Windows11Dark", windows11DarkThemeSettings);
PrimaryForegroundDisabled
Declaration
public Brush PrimaryForegroundDisabled { get; set; }
Property Value
Type |
System.Windows.Media.Brush |
PrimaryForegroundOpacity1
Declaration
public Brush PrimaryForegroundOpacity1 { 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
Windows11DarkThemeSettings windows11DarkThemeSettings = new Windows11DarkThemeSettings();
windows11DarkThemeSettings.SubHeaderFontSize = 14;
SfSkinManager.RegisterThemeSettings("Windows11Dark", windows11DarkThemeSettings);
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
Windows11DarkThemeSettings windows11DarkThemeSettings = new Windows11DarkThemeSettings();
windows11DarkThemeSettings.SubTitleFontSize = 12;
SfSkinManager.RegisterThemeSettings("Windows11Dark", windows11DarkThemeSettings);
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
Windows11DarkThemeSettings windows11DarkThemeSettings = new Windows11DarkThemeSettings();
windows11DarkThemeSettings.TitleFontSize = 14;
SfSkinManager.RegisterThemeSettings("Windows11Dark", windows11DarkThemeSettings);