UITextField.AllowsEditingTextAttributes Propriété

Définition

Si le texte entré ou collé peut modifier les attributs du contenu.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool AllowsEditingTextAttributes { [Foundation.Export("allowsEditingTextAttributes")] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)] get; [Foundation.Export("setAllowsEditingTextAttributes:")] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)] set; }
member this.AllowsEditingTextAttributes : bool with get, set

Valeur de propriété

La valeur par défaut est false.

Attributs

Remarques

Si truela valeur est , l’utilisateur peut modifier les attributs de style et le texte collé dans conservera UITextField les caractéristiques. Si falsela valeur est , le style de texte est uniquement une fonctionnalité programmatique.

S’applique à