MaxAutoIndent Property

IFormattedLineSource.MaxAutoIndent Property


Gets the maximum auto-indent for wrapped lines.

Namespace:   Microsoft.VisualStudio.Text.Formatting
Assembly:  Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)

double MaxAutoIndent { get; }

Property Value

Type: System.Double

The maximum auto-indent for wrapped lines.

If a long line is word-wrapped, then all the line fragments after the first will be indented by the amount of leading white space on the first line, or MaxAutoIndent, whichever is smaller.

Return to top
© 2015 Microsoft