更新:2007 年 11 月
命名空间:
System.Windows.Documents 程序集:
PresentationFramework(在 PresentationFramework.dll 中)
用于 XAML 的 XMLNS:http://schemas.microsoft.com/winfx/xaml/presentation
Public Property IsMergeable As Boolean
Dim instance As TextElementEditingBehaviorAttribute
Dim value As Boolean
value = instance.IsMergeable
instance.IsMergeable = value
public bool IsMergeable { get; set; }
public:
property bool IsMergeable {
bool get ();
void set (bool value);
}
/** @property */
public boolean get_IsMergeable()
/** @property */
public void set_IsMergeable(boolean value)
public function get IsMergeable () : boolean
public function set IsMergeable (value : boolean)
<object IsMergeable="bool" .../>
当 IsMergeable 为 true 时,是否组合具有相同属性值的相邻文本元素由 RichTextBox 决定。 当 IsMergeable 为 false 时,RichTextBox 不组合两个相邻的文本元素。
.NET Framework 3.5 版中引入了 TextElementEditingBehaviorAttribute。有关更多信息,请参见 .NET Framework 3.5 体系结构。
.NET Framework 和 .NET Compact Framework 并不是对每个平台的所有版本都提供支持。有关支持的版本的列表,请参见.NET Framework 系统要求。
.NET Framework
受以下版本支持:3.5 SP1、3.0 SP1
参考