TextBlock.TextTrimming Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets or sets the text trimming behavior to employ when content overflows the content area.
Assembly: System.Windows (in System.Windows.dll)
XMLNS for XAML: Not mapped to an xmlns.
<TextBlock TextTrimming="None"/> -or- <TextBlock TextTrimming="WordEllipsis"/>
Property Value
Type: System.Windows.TextTrimmingOne of the TextTrimming values that specifies the text trimming behavior to employ. The default is None.
The TextTrimming property has no effect unless the TextWrapping property is set to NoWrap.
Show: