TextElementEditingBehaviorAttribute.IsMergeable 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定一個值,表示是否 RichTextBox 能合併兩個相鄰的文字元素。
public:
property bool IsMergeable { bool get(); void set(bool value); };
public bool IsMergeable { get; set; }
member this.IsMergeable : bool with get, set
Public Property IsMergeable As Boolean
屬性值
true 若 a RichTextBox 可以自由合併具有相同屬性值的相鄰自訂文字元素;否則, false。
備註
當 IsMergeable 是 true時,是否將具有相同性質值的相鄰文字元素合併,則由 決定。RichTextBox 當 IsMergeable 是 false時,a RichTextBox 不會將兩個相鄰的文字元素結合起來。
TextElementEditingBehaviorAttribute 於 .NET Framework 3.5 版本中引入。 欲了解更多資訊,請參閱 版本與相依關係。