UITextView.DataDetectorTypes Propriedade
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Essa propriedade contém um valor que determina qual texto no documento pode ser convertido em links clicáveis.
[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 da propriedade
O valor padrão é E:UIKit.UIDataDetectorTypes.None
- Atributos
Comentários
Definindo esse valor como algo diferente E:UIKit.UIDataDetectorTypes.None converterá o texto apropriado (números de telefone, URLs, eventos de calendário e endereços) em links clicáveis. Ao clicar, o sistema operacional abrirá o aplicativo apropriado para lidar com esse tipo de link.
Aplica-se a
Confira também
- AllowsEditingTextAttributes
- AttributedText
- Editable
- Font
- Text
- TextAlignment
- <xref:UIKit.UITextView.TextContainerInsert>
- TextColor
- TypingAttributes