TextTrimming Enum

Definition

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

public enum class TextTrimming
enum TextTrimming
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.WebHostHidden]
public enum TextTrimming
Public Enum TextTrimming
<object property="enumMemberName"/>
Inheritance
TextTrimming
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

CharacterEllipsis 1

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

Clip 3

Text is trimmed at a pixel level, visually clipping the excess glyphs.

None 0

Default.

Text is truncated at a word boundary.

No trim indicator is drawn and the RichTextBlock /TextBlock IsTextTrimmedChanged event does not fire.

WordEllipsis 2

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

Applies to

See also