TextTrimming 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.
Describes how text is trimmed when it overflows the edge of its containing box.
public enum class TextTrimming
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 65536)]
enum class TextTrimming
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
public enum TextTrimming
Public Enum TextTrimming
<object property="enumMemberName"/>
- Inheritance
-
TextTrimming
- Attributes
Fields
Name | Value | Description |
---|---|---|
None | 0 | Default. Text is truncated at a word boundary. No trim indicator is drawn and the RichTextBlock/TextBlock |
CharacterEllipsis | 1 | Text is trimmed at a character boundary. An ellipsis (...) is drawn in place of remaining text. |
WordEllipsis | 2 | Text is trimmed at a word boundary. An ellipsis (...) is drawn in place of remaining text. |
Clip | 3 | Text is trimmed at a pixel level, visually clipping the excess glyphs. |