请单击以进行评分并提供反馈

  开启低带宽视图
.NET Framework 类库
TextElementEditingBehaviorAttribute..::.IsMergeable 属性

更新:2007 年 11 月

获取或设置一个值,该值指示 RichTextBox 是否可以合并两个相邻的文本元素。

命名空间:  System.Windows.Documents
程序集:  PresentationFramework(在 PresentationFramework.dll 中)
用于 XAML 的 XMLNS:http://schemas.microsoft.com/winfx/xaml/presentation

Visual Basic(声明)
Public Property IsMergeable As Boolean
Visual Basic (用法)
Dim instance As TextElementEditingBehaviorAttribute
Dim value As Boolean

value = instance.IsMergeable

instance.IsMergeable = value
C#
public bool IsMergeable { get; set; }
Visual C++
public:
property bool IsMergeable {
    bool get ();
    void set (bool value);
}
J#
/** @property */
public boolean get_IsMergeable()
/** @property */
public  void set_IsMergeable(boolean value)
JScript
public function get IsMergeable () : boolean
public function set IsMergeable (value : boolean)
XAML 属性用法
<object IsMergeable="bool" .../>

属性值

类型:System..::.Boolean

如果 RichTextBox 可以合并具有相同属性值的相邻自定义文本元素,则为 true;否则为 false

IsMergeabletrue 时,是否组合具有相同属性值的相邻文本元素由 RichTextBox 决定。 当 IsMergeablefalse 时,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
社区内容   什么是社区内容?
添加新内容 RSS  批注
Processing
© 2009 Microsoft Corporation 版权所有。 保留所有权利  |  商标  |  隐私权声明
Page view tracker