TextBlock.TextTrimming Property


Gets or sets the text trimming behavior to employ when content overflows the content area.

 property System::Windows::TextTrimming TextTrimming { System::Windows::TextTrimming get(); void set(System::Windows::TextTrimming value); };
public System.Windows.TextTrimming TextTrimming { get; set; }
member this.TextTrimming : System.Windows.TextTrimming with get, set
Public Property TextTrimming As TextTrimming

Property Value

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


Dependency Property Information

Identifier field TextTrimmingProperty
Metadata properties set to true AffectsMeasure, AffectsRender

Applies to