UITextView.DataDetectorTypes Propriété
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Cette propriété contient une valeur qui détermine le texte du document qui peut être converti en liens cliquables.
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual UIKit.UIDataDetectorType DataDetectorTypes { [Foundation.Export("dataDetectorTypes")] [ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)] get; [Foundation.Export("setDataDetectorTypes:")] [ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)] set; }
member this.DataDetectorTypes : UIKit.UIDataDetectorType with get, set
Valeur de propriété
La valeur par défaut est E:UIKit.UIDataDetectorTypes.None
- Attributs
Remarques
Si vous définissez cette valeur sur une valeur autre que E:UIKit.UIDataDetectorTypes.None , le texte approprié (numéros de téléphone, URL, événements de calendrier et adresses) est converti en liens cliquables. En cliquant, le système d’exploitation ouvre l’application appropriée pour gérer ce type de lien.
S’applique à
Voir aussi
- AllowsEditingTextAttributes
- AttributedText
- Editable
- Font
- Text
- TextAlignment
- <xref:UIKit.UITextView.TextContainerInsert>
- TextColor
- TypingAttributes