Class MarkdownStyleSettings
Provides configurable style settings that control the visual appearance of rendered Markdown elements.
These settings are consumed by the SfMarkdownViewer control to style headings, paragraphs, lists, tables, hyperlinks, code blocks, blockquotes and thematic breaks.
Inheritance
Namespace: Syncfusion.UI.Xaml.Markdown
Assembly: Syncfusion.MarkdownViewer.WinUI.dll
Syntax
public class MarkdownStyleSettings : DependencyObject
Constructors
MarkdownStyleSettings()
Initializes a new instance of the MarkdownStyleSettings class.
Declaration
public MarkdownStyleSettings()
Fields
BlockQuoteStyleProperty
Identifies the BlockQuoteStyle dependency property.
Declaration
public static readonly DependencyProperty BlockQuoteStyleProperty
Field Value
| Type |
|---|
| Microsoft.UI.Xaml.DependencyProperty |
CodeBlockStyleProperty
Identifies the CodeBlockStyle dependency property.
Declaration
public static readonly DependencyProperty CodeBlockStyleProperty
Field Value
| Type |
|---|
| Microsoft.UI.Xaml.DependencyProperty |
H1StyleProperty
Identifies the H1Style dependency property.
Declaration
public static readonly DependencyProperty H1StyleProperty
Field Value
| Type |
|---|
| Microsoft.UI.Xaml.DependencyProperty |
H2StyleProperty
Identifies the H2Style dependency property.
Declaration
public static readonly DependencyProperty H2StyleProperty
Field Value
| Type |
|---|
| Microsoft.UI.Xaml.DependencyProperty |
H3StyleProperty
Identifies the H3Style dependency property.
Declaration
public static readonly DependencyProperty H3StyleProperty
Field Value
| Type |
|---|
| Microsoft.UI.Xaml.DependencyProperty |
H4StyleProperty
Identifies the H4Style dependency property.
Declaration
public static readonly DependencyProperty H4StyleProperty
Field Value
| Type |
|---|
| Microsoft.UI.Xaml.DependencyProperty |
H5StyleProperty
Identifies the H5Style dependency property.
Declaration
public static readonly DependencyProperty H5StyleProperty
Field Value
| Type |
|---|
| Microsoft.UI.Xaml.DependencyProperty |
H6StyleProperty
Identifies the H6Style dependency property.
Declaration
public static readonly DependencyProperty H6StyleProperty
Field Value
| Type |
|---|
| Microsoft.UI.Xaml.DependencyProperty |
InlineQuoteStyleProperty
Identifies the InlineQuoteStyle dependency property.
Declaration
public static readonly DependencyProperty InlineQuoteStyleProperty
Field Value
| Type |
|---|
| Microsoft.UI.Xaml.DependencyProperty |
LinkStyleProperty
Identifies the LinkStyle dependency property.
Declaration
public static readonly DependencyProperty LinkStyleProperty
Field Value
| Type |
|---|
| Microsoft.UI.Xaml.DependencyProperty |
ListStyleProperty
Identifies the ListStyle dependency property.
Declaration
public static readonly DependencyProperty ListStyleProperty
Field Value
| Type |
|---|
| Microsoft.UI.Xaml.DependencyProperty |
MermaidStyleProperty
Identifies the MermaidStyle dependency property.
Declaration
public static readonly DependencyProperty MermaidStyleProperty
Field Value
| Type |
|---|
| Microsoft.UI.Xaml.DependencyProperty |
ParagraphStyleProperty
Identifies the ParagraphStyle dependency property.
Declaration
public static readonly DependencyProperty ParagraphStyleProperty
Field Value
| Type |
|---|
| Microsoft.UI.Xaml.DependencyProperty |
TableStyleProperty
Identifies the TableStyle dependency property.
Declaration
public static readonly DependencyProperty TableStyleProperty
Field Value
| Type |
|---|
| Microsoft.UI.Xaml.DependencyProperty |
ThematicStyleProperty
Identifies the ThematicStyle dependency property.
Declaration
public static readonly DependencyProperty ThematicStyleProperty
Field Value
| Type |
|---|
| Microsoft.UI.Xaml.DependencyProperty |
Properties
BlockQuoteStyle
Gets or sets the BlockQuoteSettings applied to blockquote regions.
Declaration
public BlockQuoteSettings BlockQuoteStyle { get; set; }
Property Value
| Type |
|---|
| BlockQuoteSettings |
CodeBlockStyle
Gets or sets the CodeBlockSettings used to style fenced and indented code blocks.
Declaration
public CodeBlockSettings CodeBlockStyle { get; set; }
Property Value
| Type |
|---|
| CodeBlockSettings |
H1Style
Gets or sets the HeaderSettings that control the appearance of H1 headings. Default FontSize is 28.0.
Declaration
public HeaderSettings H1Style { get; set; }
Property Value
| Type |
|---|
| HeaderSettings |
H2Style
Gets or sets the HeaderSettings that control the appearance of H2 headings. Default FontSize is 24.0.
Declaration
public HeaderSettings H2Style { get; set; }
Property Value
| Type |
|---|
| HeaderSettings |
H3Style
Gets or sets the HeaderSettings that control the appearance of H3 headings. Default FontSize is 22.0.
Declaration
public HeaderSettings H3Style { get; set; }
Property Value
| Type |
|---|
| HeaderSettings |
H4Style
Gets or sets the HeaderSettings that control the appearance of H4 headings. Default FontSize is 20.0.
Declaration
public HeaderSettings H4Style { get; set; }
Property Value
| Type |
|---|
| HeaderSettings |
H5Style
Gets or sets the HeaderSettings that control the appearance of H5 headings. Default FontSize is 18.0.
Declaration
public HeaderSettings H5Style { get; set; }
Property Value
| Type |
|---|
| HeaderSettings |
H6Style
Gets or sets the HeaderSettings that control the appearance of H6 headings. Default FontSize is 16.0.
Declaration
public HeaderSettings H6Style { get; set; }
Property Value
| Type |
|---|
| HeaderSettings |
InlineQuoteStyle
Gets or sets the InlineQuoteSettings used to style inline quoted text.
Declaration
public InlineQuoteSettings InlineQuoteStyle { get; set; }
Property Value
| Type |
|---|
| InlineQuoteSettings |
LinkStyle
Gets or sets the LinkSettings used to style hyperlinks.
Declaration
public LinkSettings LinkStyle { get; set; }
Property Value
| Type |
|---|
| LinkSettings |
ListStyle
Gets or sets the ListSettings applied to ordered and unordered lists.
Declaration
public ListSettings ListStyle { get; set; }
Property Value
| Type |
|---|
| ListSettings |
MermaidStyle
Gets or sets the MermaidSettings used to style hyperlinks.
Declaration
public MermaidSettings MermaidStyle { get; set; }
Property Value
| Type |
|---|
| MermaidSettings |
ParagraphStyle
Gets or sets the ParagraphSettings used for paragraph and body text styling.
Declaration
public ParagraphSettings ParagraphStyle { get; set; }
Property Value
| Type |
|---|
| ParagraphSettings |
TableStyle
Gets or sets the TableSettings that control table rendering.
Declaration
public TableSettings TableStyle { get; set; }
Property Value
| Type |
|---|
| TableSettings |
ThematicStyle
Gets or sets the ThematicSettings used for thematic breaks styling.
Declaration
public ThematicSettings ThematicStyle { get; set; }
Property Value
| Type |
|---|
| ThematicSettings |