TextBlock.TextTrimming 属性

定义

获取或设置在内容超出内容区域时要采用的文本剪裁行为。

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

属性值

TextTrimming

TextTrimming 值中的一个,指定要采用的文本裁剪行为。 默认值为 None

注解

依赖项属性信息

标识符字段 TextTrimmingProperty
元数据属性设置为 true AffectsMeasure, AffectsRender

适用于