Edit

Bagikan melalui


TextBlock.TextTrimming Property

Definition

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

public:
 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.

Remarks

Dependency Property Information

Identifier field TextTrimmingProperty
Metadata properties set to true AffectsMeasure, AffectsRender

Applies to