Partager via


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)

Syntax

'Declaration
ReadOnly Property MaxAutoIndent As Double
double MaxAutoIndent { get; }
property double MaxAutoIndent {
    double get ();
}
abstract MaxAutoIndent : float with get
function get MaxAutoIndent () : double

Property Value

Type: Double
The maximum auto-indent for wrapped lines.

Remarks

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.

.NET Framework Security

See Also

Reference

IFormattedLineSource Interface

Microsoft.VisualStudio.Text.Formatting Namespace