Skip to end of metadata
Go to start of metadata

Remarks

Paragraph is typically used to group content into a paragraph. Paragraph can only contain Inline elements. The simplest and most common use of Paragraph is to create a paragraph of text. Paragraph is used in a similar manner to the <P> tag in HTML. You can use TextIndent property to specify text indent in Paragraph element.

XAML

Definition

public class Paragraph : Block

Summary

The following table summarizes the members exposed in this class.

Public Constructors

Paragraph Constructor()Initializes a new instance of the Paragraph class.
Paragraph Constructor(Inline)Initializes a new instance of the Paragraph class.

Public Properties

FirstLineIndent 
HangingIndent 
InlinesGets or sets the Inline element collection as the child of this element.
TabStops 
TextIndentGets or sets the indentation applied to the beginning of the textual content.

Fields

FirstLineIndentPropertyIdentifies the FirstLineIndent dependency property.
HangingIndentPropertyIdentifies the HangingIndent dependency property.
InlinesPropertyIdentifies the Inlines dependency property.
TabStopsPropertyIdentifies the TabStops dependency property.
TextIndentPropertyIdentifies the TextIndent dependency property.

Public Constructors

public Paragraph()

Initializes a new instance of the Paragraph class.

public Paragraph(Inline inline)

Initializes a new instance of the Paragraph class.

Parameters

inline 

 

Public Properties

public double FirstLineIndent { get; set; }

 

public double HangingIndent { get; set; }

 

public InlineCollection Inlines { get; set; }

Gets or sets the Inline element collection as the child of this element.

public TabStopCollection TabStops { get; set; }

 

public double TextIndent { get; set; }

Gets or sets the indentation applied to the beginning of the textual content.

Fields

public static readonly DependencyProperty FirstLineIndentProperty

Identifies the FirstLineIndent dependency property.

public static readonly DependencyProperty HangingIndentProperty

Identifies the HangingIndent dependency property.

public static readonly DependencyProperty InlinesProperty

Identifies the Inlines dependency property.

public static readonly DependencyProperty TabStopsProperty

Identifies the TabStops dependency property.

public static readonly DependencyProperty TextIndentProperty

Identifies the TextIndent dependency property.

  • No labels