Paragraph Paragraph Paragraph Class

Definition

Provides a block-level content element that is used to group content into a paragraph.

public : sealed class Paragraph : Block, IParagraphpublic sealed class Paragraph : Block, IParagraphPublic NotInheritable Class Paragraph Inherits Block Implements IParagraph
<Paragraph .../>
-or-
<Paragraph ...>
  oneOrMoreInlines
</Paragraph>
-or-
<Paragraph ...>
  mixedContent
</Paragraph>
Inheritance
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Inherited Members

Inherited properties

Inherited events

Inherited methods

Constructors

Paragraph() Paragraph() Paragraph()

Initializes a new instance of the Paragraph class.

public : Paragraph()public Paragraph()Public Sub New()
Attributes

Properties

Inlines Inlines Inlines

Gets an InlineCollection containing the top-level Inline elements that include the contents of the Paragraph.

public : InlineCollection Inlines { get; }public InlineCollection Inlines { get; }Public ReadOnly Property Inlines As InlineCollection
<Paragraph .../>
-or-
<Paragraph ...>
  oneOrMoreInlines
</Paragraph>
-or-
<Paragraph ...>
  mixedContent
</Paragraph>
Value
InlineCollection InlineCollection InlineCollection

An InlineCollection containing the Inline elements that include the contents of the Paragraph.

Attributes

TextIndent TextIndent TextIndent

Gets or sets the indentation of the first line of text in a paragraph, in pixels.

public : double TextIndent { get; set; }public double TextIndent { get; set; }Public ReadWrite Property TextIndent As double
<Paragraph TextIndent="double"/>
Value
double double double

The offset amount, in pixels, of the first line of text in a paragraph.

Attributes

Remarks

You can set the indent amount for all paragraphs in a RichTextBlock by setting the RichTextBlock.TextIndent property. You can override this setting for specific paragraphs in a RichTextBlock by setting the Paragraph.TextIndent property to a different value.

TextIndentProperty TextIndentProperty TextIndentProperty

Identifies the TextIndent dependency property.

public : static DependencyProperty TextIndentProperty { get; }public static DependencyProperty TextIndentProperty { get; }Public Static ReadOnly Property TextIndentProperty As DependencyProperty
Value
DependencyProperty DependencyProperty DependencyProperty

The identifier for the TextIndent dependency property.

Attributes

See Also