Expand Minimize

RichTextBlock.TextIndent property

Applies to Windows and Windows Phone

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

Syntax


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


<RichTextBlock TextIndent="double"/>

Property value

Type: System.Double [.NET] | float64 [C++]

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.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Xaml.Controls
Windows::UI::Xaml::Controls [C++]

Metadata

Windows.winmd

See also

RichTextBlock
Paragraph.TextIndent

 

 

Show:
© 2014 Microsoft