Skip to main content

TextWrapping Enum

Definition

Namespace:Avalonia.Media
Assembly:Avalonia.Base
Package:Avalonia

Controls the wrapping mode of text.

public enum TextWrapping

Inheritance: Enum -> TextWrapping

Fields

NameDescription
NoWrapText should not wrap.
WrapText can wrap.
WrapWithOverflowLine-breaking occurs if the line overflows the available block width. However, a line may overflow the block width if the line breaking algorithm cannot determine a break opportunity, as in the case of a very long word.

NoWrap Field

Text should not wrap.

public Avalonia.Media.TextWrapping NoWrap

Wrap Field

Text can wrap.

public Avalonia.Media.TextWrapping Wrap

WrapWithOverflow Field

Line-breaking occurs if the line overflows the available block width. However, a line may overflow the block width if the line breaking algorithm cannot determine a break opportunity, as in the case of a very long word.

public Avalonia.Media.TextWrapping WrapWithOverflow