Share via


LineBreakMode Enum

Definition

Enumeration specifying various options for line breaking.

public enum class LineBreakMode
public enum LineBreakMode
type LineBreakMode = 
Public Enum LineBreakMode
Inheritance
LineBreakMode

Fields

Name Value Description
NoWrap 0

Do not wrap text.

WordWrap 1

Wrap at word boundaries.

CharacterWrap 2

Wrap at character boundaries.

HeadTruncation 3

Truncate the head of text.

TailTruncation 4

Truncate the tail of text.

MiddleTruncation 5

Truncate the middle of text. This may be done, for example, by replacing it with an ellipsis.

Remarks

How lines are broken or text is truncated might be different depending on the platform.

Applies to