alexa
menu

WPF

  • 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
    Implements
    System.ComponentModel.INotifyPropertyChanged
    Namespace: Syncfusion.UI.Xaml.Markdown
    Assembly: Syncfusion.SfMarkdownViewer.WPF.dll
    Syntax
    public class FontSettings : DependencyObject, INotifyPropertyChanged

    Constructors

    FontSettings()

    Declaration
    public FontSettings()

    Fields

    FontDecorationProperty

    Identifies the FontDecoration dependency property.

    Declaration
    public static readonly DependencyProperty FontDecorationProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    FontSizeProperty

    Identifies the FontSize dependency property.

    Declaration
    public static readonly DependencyProperty FontSizeProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    FontStyleProperty

    Identifies the FontStyle dependency property.

    Declaration
    public static readonly DependencyProperty FontStyleProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    FontWeightProperty

    Identifies the FontWeight dependency property.

    Declaration
    public static readonly DependencyProperty FontWeightProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    Properties

    FontDecoration

    Gets or sets the text decoration for texts.

    Declaration
    public TextDecorationCollection FontDecoration { get; set; }
    Property Value
    Type
    System.Windows.TextDecorationCollection

    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
    System.Windows.FontStyle

    FontWeight

    Gets or sets the font weight for texts.

    Declaration
    public FontWeight FontWeight { get; set; }
    Property Value
    Type
    System.Windows.FontWeight

    Foreground

    Gets or sets the foreground for texts.

    Declaration
    public SolidColorBrush Foreground { get; set; }
    Property Value
    Type
    System.Windows.Media.SolidColorBrush

    Methods

    OnPropertyChanged(String)

    Raises the PropertyChanged event for the specified property.

    Declaration
    protected void OnPropertyChanged(string propertyName = null)
    Parameters
    Type Name Description
    System.String propertyName

    Name of the property that changed.

    Events

    PropertyChanged

    Event triggered when a property value changes. Used to notify the UI for data binding updates (INotifyPropertyChanged).

    Declaration
    public event PropertyChangedEventHandler PropertyChanged
    Event Type
    Type
    System.ComponentModel.PropertyChangedEventHandler

    Implements

    System.ComponentModel.INotifyPropertyChanged
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved