alexa
menu

WinUI

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download

    Show / Hide Table of Contents

    Class FontSettings

    Provides configurable style settings for texts.

    Inheritance
    System.Object
    FontSettings
    BlockQuoteSettings
    CodeBlockSettings
    HeaderSettings
    InlineQuoteSettings
    LinkSettings
    ListSettings
    ParagraphSettings
    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
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved