LineBreakMode Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.