Skip to main content

Enum

There are two flavors of enum values, normal enums and flags enums.

Normal enum syntax is simple the name of the value to provide.

style enums {
LayoutType = Horizontal;
}

Flag enum values can be combined with the pipe | operator. If no pipe operator is provided this behaves identically to normal enums.

style enums {
TextWhitespaceMode = CollapseWhitespace | Trim;
}