Table of Contents

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

double

BaseFontSize

Gets or sets base font size.

public double BaseFontSize { get; set; }

Property Value

double

ButtonFont

Gets or sets button font family.

public string? ButtonFont { get; set; }

Property Value

string

ButtonFontWeight

Gets or sets button font weight.

public FontWeight ButtonFontWeight { get; set; }

Property Value

FontWeight

ButtonLetterSpacing

Gets or sets button letter spacing.

public double ButtonLetterSpacing { get; set; }

Property Value

double

ButtonLineHeight

Gets or sets button line height.

public double ButtonLineHeight { get; set; }

Property Value

double

ButtonTextTransformation

Gets or sets button text transformation.

public TextTransform ButtonTextTransformation { get; set; }

Property Value

TextTransform

HeadingFont

Gets or sets heading font family.

public string? HeadingFont { get; set; }

Property Value

string

HeadingFontWeight

Gets or sets heading font weight.

public FontWeight HeadingFontWeight { get; set; }

Property Value

FontWeight

HeadingLetterSpacing

Gets or sets heading letter spacing.

public double HeadingLetterSpacing { get; set; }

Property Value

double

HeadingLineHeight

Gets or sets heading line height.

public double HeadingLineHeight { get; set; }

Property Value

double

HeadingTextTransformation

Gets or sets heading text transformation.

public TextTransform HeadingTextTransformation { get; set; }

Property Value

TextTransform

Id

Gets or sets the id.

public required string Id { get; set; }

Property Value

string

Name

Gets or sets the name.

public required string Name { get; set; }

Property Value

string

ParagraphFont

Gets or sets paragraph font family.

public string? ParagraphFont { get; set; }

Property Value

string

ParagraphFontWeight

Gets or sets paragraph font weight.

public FontWeight ParagraphFontWeight { get; set; }

Property Value

FontWeight

ParagraphLetterSpacing

Gets or sets paragraph letter spacing.

public double ParagraphLetterSpacing { get; set; }

Property Value

double

ParagraphLineHeight

Gets or sets paragraph line height.

public double ParagraphLineHeight { get; set; }

Property Value

double

ParagraphTextTransformation

Gets or sets paragraph text transformation.

public TextTransform ParagraphTextTransformation { get; set; }

Property Value

TextTransform
To top