menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class MdParagraph - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class MdParagraph

    Represents a line in Markdown.

    Inheritance
    System.Object
    MdParagraph
    Implements
    IMdBlock
    Namespace: Syncfusion.Office.Markdown
    Assembly: Syncfusion.Markdown.dll
    Syntax
    public class MdParagraph : Object, IMdBlock

    Constructors

    MdParagraph()

    Declaration
    public MdParagraph()

    Properties

    FirstLineIndent

    Gets or sets first line indent value for paragraph

    Declaration
    public int FirstLineIndent { get; }
    Property Value
    Type
    System.Int32

    HasBlockquote

    Gets or sets a value indicating Blockquote in Markdown.

    Declaration
    public bool HasBlockquote { get; set; }
    Property Value
    Type
    System.Boolean

    Inlines

    Gets or sets list of inline items for a line.

    Declaration
    public List<IMdInline> Inlines { get; set; }
    Property Value
    Type
    System.Collections.Generic.List<IMdInline>

    LeftIndent

    Gets or sets left indent value for paragraph

    Declaration
    public int LeftIndent { get; }
    Property Value
    Type
    System.Int32

    ListFormat

    Gets or sets list format for a line.

    Declaration
    public MdListFormat ListFormat { get; set; }
    Property Value
    Type
    MdListFormat

    StyleName

    Gets or sets style for a line.

    Declaration
    public MdParagraphStyle StyleName { get; }
    Property Value
    Type
    MdParagraphStyle

    TaskItemProperties

    Gets or sets the task item properties of a line.

    Declaration
    public MdTaskProperties TaskItemProperties { get; set; }
    Property Value
    Type
    MdTaskProperties

    Methods

    AddHyperlink()

    Defines methods to add MdHyperlink to Inlines in the markdown document.

    Declaration
    public MdHyperlink AddHyperlink()
    Returns
    Type
    MdHyperlink

    AddTextRange()

    Defines methods to add MdTextRange to Inlines in the markdown document.

    Declaration
    public MdTextRange AddTextRange()
    Returns
    Type
    MdTextRange

    ApplyParagraphStyle(String)

    Applies Paragraph style to MdParagraph.

    Declaration
    public void ApplyParagraphStyle(string styleName)
    Parameters
    Type Name Description
    System.String styleName

    Close()

    Closes the paragraph.

    Declaration
    public void Close()

    Implements

    IMdBlock
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved