TextTrimming Class
Describes how text is trimmed when it overflows.
Definition
Namespace: Avalonia.Media
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public abstract class TextTrimming
Public MustInherit Class TextTrimming
[<AbstractClassAttribute>]
type TextTrimming = class end
| Inheritance | Object → TextTrimming |
| Derived | Avalonia.Media.TextLeadingPrefixTrimming Avalonia.Media.TextTrailingTrimming |
Constructors
| TextTrimming() | Initializes a new instance of the TextTrimming class |
Properties
| CharacterEllipsis | Text is trimmed at a character boundary. An ellipsis (...) is drawn in place of remaining text. |
| LeadingCharacterEllipsis | Text is trimmed at a character boundary starting from the beginning. An ellipsis (...) is drawn in place of remaining text. |
| None | Text is not trimmed. |
| PrefixCharacterEllipsis | Text is trimmed after a given prefix length. An ellipsis (...) is drawn in between prefix and suffix and represents remaining text. |
| WordEllipsis | Text is trimmed at a word boundary. An ellipsis (...) is drawn in place of remaining text. |
Methods
| CreateCollapsingProperties(TextCollapsingCreateInfo) | Creates properties that will be used for collapsing lines of text. |
| Equals(Object) | Determines whether the specified object is equal to the current object. (Inherited from Object) |
| Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
| GetHashCode() | Serves as the default hash function. (Inherited from Object) |
| GetType() | Gets the Type of the current instance. (Inherited from Object) |
| MemberwiseClone() | Creates a shallow copy of the current Object. (Inherited from Object) |
| Parse(String) | Parses a text trimming string. Names must match static properties defined in this class. |
| ToString() | Returns a string that represents the current object. (Inherited from Object) |