UITextView.TextColor 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
要用于 中的所有 UITextView文本的颜色。
public virtual UIKit.UIColor TextColor { [Foundation.Export("textColor", ObjCRuntime.ArgumentSemantic.Strong)] get; [Foundation.Export("setTextColor:", ObjCRuntime.ArgumentSemantic.Strong)] set; }
member this.TextColor : UIKit.UIColor with get, set
属性值
(此节点的更多文档即将)
此值可为 null
。
- 属性
注解
对此属性的赋值将影响 中的所有 UITextView文本。 如果需要多个文本样式,应用程序开发人员必须使用 AttributedText 属性。
适用于
另请参阅
- AllowsEditingTextAttributes
- AttributedText
- DataDetectorTypes
- Editable
- Font
- Text
- TextAlignment
- <xref:UIKit.UITextView.TextContainerInsert>
- TypingAttributes