UITextView.TextColorKey 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
從 擷取文字色彩 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」 。
- 屬性