Share via


RichTextBlock.TextTrimming Property

Definition

Gets or sets a value that indicates how text is trimmed when it overflows the content area.

public:
 property TextTrimming TextTrimming { TextTrimming get(); void set(TextTrimming value); };
TextTrimming TextTrimming();

void TextTrimming(TextTrimming value);
public TextTrimming TextTrimming { get; set; }
var textTrimming = richTextBlock.textTrimming;
richTextBlock.textTrimming = textTrimming;
Public Property TextTrimming As TextTrimming
<RichTextBlock TextTrimming="None"/>
-or-
<RichTextBlock TextTrimming="WordEllipsis"/>

Property Value

One of the TextTrimming enumeration values that specifies the text trimming behavior to use. The default is None.

Applies to