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