Skip to content

Latest commit

 

History

History
52 lines (29 loc) · 1.15 KB

texttrimming.md

File metadata and controls

52 lines (29 loc) · 1.15 KB
-api-id -api-type
T:Windows.UI.Xaml.TextTrimming
winrt enum

TextTrimming

-description

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

-xaml-syntax

<object property="enumMemberName"/>

-enum-fields

-field None:0

Default.

Text is truncated at a word boundary.

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

-field CharacterEllipsis:1

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

-field WordEllipsis:2

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

-field Clip:3

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

-remarks

-examples

-see-also

RichTextBlock.TextTrimming property, TextBlock.TextTrimming property