共用方式為


UITextView.TextColorKey 屬性

定義

從 擷取文字色彩 NSDictionary 時,應該用來做為索引鍵值的常數。

[Foundation.Field("UITextInputTextColorKey", "UIKit")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, "Use 'NSAttributedString.ForegroundColorAttributeName'.")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public static Foundation.NSString TextColorKey { [ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, "Use 'NSAttributedString.ForegroundColorAttributeName'.")] [ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)] get; }
member this.TextColorKey : Foundation.NSString

屬性值

常數是 NSString 「UITextInputTextColorKey」 。

屬性

適用於