TextBlock.TextTrimming Property

Definition

Gets or sets the text trimming behavior to employ when content 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; }
Public Property TextTrimming As TextTrimming
<TextBlock TextTrimming="None"/>
-or-
<TextBlock TextTrimming="WordEllipsis"/>

Property Value

TextTrimming

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

Applies to