Paragraph.TextIndent Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the indentation of the first line of text in a paragraph, in pixels.
public:
property double TextIndent { double get(); void set(double value); };
double TextIndent();
void TextIndent(double value);
public double TextIndent { get; set; }
var double = paragraph.textIndent;
paragraph.textIndent = double;
Public Property TextIndent As Double
<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.