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