Paragraph.TextIndent Property

Definition

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

C#
public double TextIndent { get; set; }
XAML
<Paragraph TextIndent="double"/>

Property Value

Double

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

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.

Applies to

Product Versions
Windows App SDK 0.8, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6

See also