TextWrapping Enum

Summary

Controls the wrapping mode of text.
Namespace
Avalonia.Media
Interfaces
  • IComparable
  • IFormattable
  • IConvertible
Base Types
  • object
  • ValueType
  • Enum
graph BT Type-->Base0["Enum"] Base0-->Base1["ValueType"] Base1-->Base2["object"] Type-.->Interface0["IComparable"] Type-.->Interface1["IFormattable"] Type-.->Interface2["IConvertible"] Type["TextWrapping"] class Type type-node

Syntax

public enum TextWrapping

Fields

Name Constant Value Summary
NoWrap 0
Text should not wrap.
static
Wrap 1
Text can wrap.
static
WrapWithOverflow 2
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.
static

Extension Methods