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
WinRT Build 10240, Build 10586, Build 14383, Build 15063, Build 16299, Build 17134, Build 17763, Build 18362, Build 19041, Build 20348, Build 22000, Build 22621, Build 26100

See also