Class FontSettings
Provides configurable style settings for texts.
Inheritance
System.Object
FontSettings
Namespace: Syncfusion.UI.Xaml.Markdown
Assembly: Syncfusion.MarkdownViewer.WinUI.dll
Syntax
public class FontSettings : DependencyObject
Constructors
FontSettings()
Declaration
public FontSettings()
Fields
FontDecorationProperty
Identifies the FontDecoration dependency property.
Declaration
public static readonly DependencyProperty FontDecorationProperty
Field Value
| Type |
|---|
| Microsoft.UI.Xaml.DependencyProperty |
FontSizeProperty
Identifies the FontSize dependency property.
Declaration
public static readonly DependencyProperty FontSizeProperty
Field Value
| Type |
|---|
| Microsoft.UI.Xaml.DependencyProperty |
FontStyleProperty
Identifies the FontStyle dependency property.
Declaration
public static readonly DependencyProperty FontStyleProperty
Field Value
| Type |
|---|
| Microsoft.UI.Xaml.DependencyProperty |
FontWeightProperty
Identifies the FontWeight dependency property.
Declaration
public static readonly DependencyProperty FontWeightProperty
Field Value
| Type |
|---|
| Microsoft.UI.Xaml.DependencyProperty |
ForegroundProperty
Identifies the Foreground dependency property.
Declaration
public static readonly DependencyProperty ForegroundProperty
Field Value
| Type |
|---|
| Microsoft.UI.Xaml.DependencyProperty |
Properties
FontDecoration
Gets or sets the text decoration for texts.
Declaration
public TextDecorations FontDecoration { get; set; }
Property Value
| Type |
|---|
| Windows.UI.Text.TextDecorations |
FontSize
Gets or sets the font size for texts.
Declaration
public double FontSize { get; set; }
Property Value
| Type |
|---|
| System.Double |
FontStyle
Gets or sets the font style for texts.
Declaration
public FontStyle FontStyle { get; set; }
Property Value
| Type |
|---|
| Windows.UI.Text.FontStyle |
FontWeight
Gets or sets the font weight for texts.
Declaration
public FontWeight FontWeight { get; set; }
Property Value
| Type |
|---|
| Windows.UI.Text.FontWeight |
Foreground
Gets or sets the foreground for texts.
Declaration
public SolidColorBrush Foreground { get; set; }
Property Value
| Type |
|---|
| Microsoft.UI.Xaml.Media.SolidColorBrush |