TextElementEditingBehaviorAttribute.IsMergeable 屬性

定義

取得或設定值,這個值表示 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

屬性值

Boolean

如果 RichTextBox 可以自由合併具有相同屬性值的相鄰自訂文字項目,則為 true,否則為 false

備註

當 為 trueIsMergeable ,結合具有相同屬性值的相鄰文字專案決策會保留至 RichTextBox 。 當 為 falseIsMergeableRichTextBox 不會合並兩個連續的文字元素。

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

適用於