UITextView.DataDetectorTypes Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This property holds a value that determines what text in the document can be converted into clickable links.
[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
Property Value
The default value is E:UIKit.UIDataDetectorTypes.None
- Attributes
Remarks
Setting this value to something other the E:UIKit.UIDataDetectorTypes.None will convert appropriate text (phone numbers, URLs, calendar events, and addresses) into clickable links. On clicking, the operating system will open the appropriate application to handle that type of link.
Applies to
See also
- AllowsEditingTextAttributes
- AttributedText
- Editable
- Font
- Text
- TextAlignment
- <xref:UIKit.UITextView.TextContainerInsert>
- TextColor
- TypingAttributes