Class FluentLightThemeSettings
Represents a class that holds the respective theme color and common key values for customization
Inheritance
System.Object
FluentLightThemeSettings
Assembly: Syncfusion.Themes.FluentLight.WPF.dll
Syntax
public class FluentLightThemeSettings : Object, IThemeSetting
Constructors
FluentLightThemeSettings()
Constructor to create an instance of FluentLightThemeSettings.
Declaration
public FluentLightThemeSettings()
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
FluentLightThemeSettings fluentLightThemeSettings = new FluentLightThemeSettings();
fluentLightThemeSettings.Body AltFontSize = 10;
SfSkinManager.RegisterThemeSettings("FluentLight", fluentLightThemeSettings);
BodyFontSize
Gets or sets the font size of content area of control in selected theme
Declaration
public double BodyFontSize { get; set; }
Property Value
Examples
FluentLightThemeSettings fluentLightThemeSettings = new FluentLightThemeSettings();
fluentLightThemeSettings.BodyFontSize = 12;
SfSkinManager.RegisterThemeSettings("FluentLight", fluentLightThemeSettings);
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
FluentLightThemeSettings fluentLightThemeSettings = new FluentLightThemeSettings();
fluentLightThemeSettings.FontFamily = new FontFamily("Callibri");
SfSkinManager.RegisterThemeSettings("FluentLight", fluentLightThemeSettings);
Gets or sets the font size of header related areas of control in selected theme
Declaration
public double HeaderFontSize { get; set; }
Property Value
FluentLightThemeSettings fluentLightThemeSettings = new FluentLightThemeSettings();
fluentLightThemeSettings.HeaderFontSize = 16;
SfSkinManager.RegisterThemeSettings("FluentLight", fluentLightThemeSettings);
LinkForeground
Declaration
public Brush LinkForeground { 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 FluentPalette Palette { get; set; }
Property Value
Type |
Description |
FluentPalette |
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. | PinkRed | The PinkRed palette primary colors will be applied for specific theme. | Red | The Red palette primary colors will be applied for specific theme. | RedOrange | The RedOrange palette primary colors will be applied for specific theme. | Orange | The Orange palette primary colors will be applied for specific theme. | Green | The Green palette primary colors will be applied for specific theme. | GreenCyan | The GreenCyan palette primary colors will be applied for specific theme. | Cyan | The Cyan palette primary colors will be applied for specific theme. | CyanBlue | The CyanBlue palette primary colors will be applied for specific theme. | Blue | The Blue palette primary colors will be applied for specific theme. | BlueMegenta | The BlueMegenta palette primary colors will be applied for specific theme. | Megenta | The Megenta palette primary colors will be applied for specific theme. | MegentaPink | The MegentaPink palette primary colors will be applied for specific theme. |
|
Examples
FluentLightThemeSettings themeSettings = new FluentLightThemeSettings();
themeSettings.Palette = FluentPalette.PinkRed;
SfSkinManager.RegisterThemeSettings("FluentLight", 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
FluentLightThemeSettings fluentLightThemeSettings = new FluentLightThemeSettings();
fluentLightThemeSettings.PrimaryBackground = Brushes.Red;
SfSkinManager.RegisterThemeSettings("FluentLight", fluentLightThemeSettings);
PrimaryBackgroundOpacity1
Declaration
public Brush PrimaryBackgroundOpacity1 { 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
FluentLightThemeSettings fluentLightThemeSettings = new FluentLightThemeSettings();
fluentLightThemeSettings.PrimaryForeground = Brushes.AntiqueWhite;
SfSkinManager.RegisterThemeSettings("FluentLight", fluentLightThemeSettings);
PrimaryForegroundDisabled
Declaration
public Brush PrimaryForegroundDisabled { 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
FluentLightThemeSettings fluentLightThemeSettings = new FluentLightThemeSettings();
fluentLightThemeSettings.SubHeaderFontSize = 14;
SfSkinManager.RegisterThemeSettings("FluentLight", fluentLightThemeSettings);
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
FluentLightThemeSettings fluentLightThemeSettings = new FluentLightThemeSettings();
fluentLightThemeSettings.SubTitleFontSize = 12;
SfSkinManager.RegisterThemeSettings("FluentLight", fluentLightThemeSettings);
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
FluentLightThemeSettings fluentLightThemeSettings = new FluentLightThemeSettings();
fluentLightThemeSettings.TitleFontSize = 14;
SfSkinManager.RegisterThemeSettings("FluentLight", fluentLightThemeSettings);