Class TypographyViewModel
- Namespace
- Dynamicweb.Frontend
- Assembly
- Dynamicweb.dll
TypographyViewModel represents the rendering context used when a typography is rendered.
public sealed class TypographyViewModel : ViewModelBase
- Inheritance
-
TypographyViewModel
- 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 double BaseFontSize { get; set; }
Property Value
ButtonFont
Gets or sets button font.
public FontViewModel? ButtonFont { get; set; }
Property Value
HeadingFont
Gets or sets heading font.
public FontViewModel? HeadingFont { get; set; }
Property Value
Id
Gets or sets the typography id.
public required string Id { get; set; }
Property Value
Name
Gets or sets the typography name.
public required string Name { get; set; }
Property Value
ParagraphFont
Gets or sets paragraph font.
public FontViewModel? ParagraphFont { get; set; }