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

屬性值

Boolean

如果格式化應套用至個別字元,則為 true,如果格式化應套用至整個項目,則為 false

備註

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

TextElementEditingBehaviorAttribute.NET Framework 3.5 版引進。 如需詳細資訊,請參閱版本和相依性

適用於