TmdlExpressionTrimStyle Enum

Definition

An enumeration that indicates the way whitespaces in lines of an expression block are trimmed when serialized into TMDL text.

This enumeration supports a bitwise combination of its member values.

[System.Flags]
public enum TmdlExpressionTrimStyle
[<System.Flags>]
type TmdlExpressionTrimStyle = 
Public Enum TmdlExpressionTrimStyle
Inheritance
TmdlExpressionTrimStyle
Attributes

Fields

NoTrim 0

There is no trimming that is done during the serialization; whitespace are left as is.

TrimLeadingCommonWhitespaces 2

For a an expression block with a just a single line, the leading whitespaces are trimmed; for expression blocks with more than one line, only the common leading indentation is trimmed.

TrimTrailingWhitespaces 1

Any trailing whitespace at the end of lines of expressions are trimmed; empty lines, or ones that contain only whitespaces, at the end of the expression blocks are removed.

Applies to