編輯

共用方式為


UITextField.TextColorKey Property

Definition

The property holds the key that should be used to retrieve the value of the text color from a 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

Property Value

Attributes

Applies to