RichTextBoxSelectionAttribute 枚举

定义

指定当前选择中的所有字符是否都具有该样式或特性。

C#
public enum RichTextBoxSelectionAttribute
继承
RichTextBoxSelectionAttribute

字段

All 1

全部字符。

Mixed -1

部分字符,但不是全部字符。

None 0

无任何字符。

注解

类在 RichTextBox 内部使用此枚举。

适用于

产品 版本
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8
Windows Desktop 3.0, 3.1, 5, 6, 7