UITextView.DataDetectorTypes プロパティ
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
このプロパティには、クリック可能なリンクに変換できるドキュメント内のテキストを決定する値が保持されます。
[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
プロパティ値
既定値は E:UIKit.UIDataDetectorTypes.None です
- 属性
注釈
この値を E:UIKit.UIDataDetectorTypes.None に 設定すると、適切なテキスト (電話番号、URL、予定表イベント、アドレス) がクリック可能なリンクに変換されます。 クリックすると、オペレーティング システムによって適切なアプリケーションが開き、その種類のリンクが処理されます。
適用対象
こちらもご覧ください
- AllowsEditingTextAttributes
- AttributedText
- Editable
- Font
- Text
- TextAlignment
- <xref:UIKit.UITextView.TextContainerInsert>
- TextColor
- TypingAttributes