Class Typography
- Namespace
- Dynamicweb.Content.Styles
- Assembly
- Dynamicweb.dll
Typography class defines styles for headings, paragraphs and buttons.
public sealed class Typography
- Inheritance
-
Typography
- Inherited Members
Properties
BaseFontScale
Gets or sets base font scale.
public double BaseFontScale { get; set; }
Property Value
BaseFontSize
Gets or sets base font size.
public int BaseFontSize { get; set; }
Property Value
ButtonFont
Gets or sets button font family.
public string? ButtonFont { get; set; }
Property Value
ButtonFontStyle
Gets or sets button font style.
public string? ButtonFontStyle { get; set; }
Property Value
ButtonFontWeight
Gets or sets button font weight.
public FontWeight ButtonFontWeight { get; set; }
Property Value
ButtonLetterSpacing
Gets or sets button letter spacing.
public double ButtonLetterSpacing { get; set; }
Property Value
ButtonLineHeight
Gets or sets button line height.
public double ButtonLineHeight { get; set; }
Property Value
ButtonTextTransformation
Gets or sets button text transformation.
public TextTransform ButtonTextTransformation { get; set; }
Property Value
HeadingFont
Gets or sets heading font family.
public string? HeadingFont { get; set; }
Property Value
HeadingFontStyle
Gets or sets heading font style.
public string? HeadingFontStyle { get; set; }
Property Value
HeadingFontWeight
Gets or sets heading font weight.
public FontWeight HeadingFontWeight { get; set; }
Property Value
HeadingLetterSpacing
Gets or sets heading letter spacing.
public double HeadingLetterSpacing { get; set; }
Property Value
HeadingLineHeight
Gets or sets heading line height.
public double HeadingLineHeight { get; set; }
Property Value
HeadingTextTransformation
Gets or sets heading text transformation.
public TextTransform HeadingTextTransformation { get; set; }
Property Value
Id
Gets or sets the id.
public required string Id { get; set; }
Property Value
Name
Gets or sets the name.
public required string Name { get; set; }
Property Value
ParagraphFont
Gets or sets paragraph font family.
public string? ParagraphFont { get; set; }
Property Value
ParagraphFontStyle
Gets or sets paragraph font style.
public string? ParagraphFontStyle { get; set; }
Property Value
ParagraphFontWeight
Gets or sets paragraph font weight.
public FontWeight ParagraphFontWeight { get; set; }
Property Value
ParagraphLetterSpacing
Gets or sets paragraph letter spacing.
public double ParagraphLetterSpacing { get; set; }
Property Value
ParagraphLineHeight
Gets or sets paragraph line height.
public double ParagraphLineHeight { get; set; }
Property Value
ParagraphTextTransformation
Gets or sets paragraph text transformation.
public TextTransform ParagraphTextTransformation { get; set; }