TextTrimming Enumeration

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Describes how text is trimmed when it overflows the edge of its containing box.

Namespace:   System.Windows
Assembly:  PresentationCore (in PresentationCore.dll)

[LocalizabilityAttribute(LocalizationCategory.None, Readability = Readability.Unreadable)]
public enum TextTrimming

Member nameDescription
CharacterEllipsis

Text is trimmed at a character boundary. An ellipsis (...) is drawn in place of remaining text.

None

Text is not trimmed.

WordEllipsis

Text is trimmed at a word boundary. An ellipsis (...) is drawn in place of remaining text.

.NET Framework
Available since 3.0
Silverlight
Available since 4.0
Windows Phone Silverlight
Available since 7.1
Return to top
Show: