Delen via


RichTextBlock.TextIndent Property

Definition

Gets or sets the indentation of the first line of text in each paragraph in the RichTextBlock.

public:
 property double TextIndent { double get(); void set(double value); };
double TextIndent();

void TextIndent(double value);
public double TextIndent { get; set; }
var double = richTextBlock.textIndent;
richTextBlock.textIndent = double;
Public Property TextIndent As Double
<RichTextBlock TextIndent="double"/>

Property Value

Double

double

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

Remarks

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

Applies to

See also