Partager via


UITextView.TextColorKey Propriété

Définition

Constante qui doit être utilisée comme valeur de clé lors de la récupération de la couleur de texte à partir d’un 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

Valeur de propriété

La constante est « NSString UITextInputTextColorKey ».

Attributs

S’applique à