Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

TextBlock.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 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; }
var textTrimming = textBlock.textTrimming;
textBlock.textTrimming = textTrimming;
Public Property TextTrimming As TextTrimming
<TextBlock TextTrimming="None"/>
-or-
<TextBlock TextTrimming="WordEllipsis"/>

Property Value

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

Applies to


Feedback

Was this page helpful?