UITextView.DataDetectorTypes Propiedad
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Esta propiedad contiene un valor que determina qué texto del documento se puede convertir en vínculos en los que se puede hacer clic.
[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
Valor de propiedad
El valor predeterminado es E:UIKit.UIDataDetectorTypes.None
- Atributos
Comentarios
Si establece este valor en otro valor, E:UIKit.UIDataDetectorTypes.None convertirá el texto adecuado (números de teléfono, direcciones URL, eventos de calendario y direcciones) en vínculos en los que se pueden hacer clic. Al hacer clic, el sistema operativo abrirá la aplicación adecuada para controlar ese tipo de vínculo.
Se aplica a
Consulte también
- AllowsEditingTextAttributes
- AttributedText
- Editable
- Font
- Text
- TextAlignment
- <xref:UIKit.UITextView.TextContainerInsert>
- TextColor
- TypingAttributes