語言

TextElementEditingBehaviorAttribute.IsTypographicOnly 屬性

定義

會取得或設定一個值,表示該文字元素是否以字元為基礎提供格式化,或是格式化適用於整個元素。

public:
 property bool IsTypographicOnly { bool get(); void set(bool value); };
public bool IsTypographicOnly { get; set; }
member this.IsTypographicOnly : bool with get, set
Public Property IsTypographicOnly As Boolean

屬性值

true 是否應該針對個別字元進行格式化; false 格式是否應該適用於整個元素。

備註

當 IsTypographicOnly 是 true 且使用者複製並貼上自訂文字元素部分內容時,格式會被保留。 當 IsTypographicOnly 是 false時,只有當使用者複製並貼上自訂文字元素的所有內容時,格式才會被保留。

TextElementEditingBehaviorAttribute 於 .NET Framework 3.5 版本中引入。 欲了解更多資訊,請參閱 版本與相依關係。

適用於