RichTextBlock.TextTrimming Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.