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
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin